Board index   FAQ   Search  
Register  Login
Board index php forum :: PHP and MySQL Security PHP & MySQL Security

limit acces files

Security issues related to php and mysql usage. How to make your code secure? Security measures and configurations? It's all in here!

Moderators: macek, egami, gesf

limit acces files

Postby cool4cools » Tue Apr 11, 2006 11:34 pm

how do i give an ip restriction to an file without restarting the server?
and on toppic :D

i have users upload files true php and storing links to mysql
and only the user who have uploaded the file may download it
so i need ip restriction without restarting the server
or an other idea to have url that only gives specific users acces?
does enyone know how to build this? :help: 8)
New php-forum User
New php-forum User
Posts: 10
Joined: Tue Apr 11, 2006 11:29 pm

Postby Alexej Kubarev » Wed Apr 12, 2006 11:07 am

i think its better that you do that via a php script.. like check for IPs and stuff..
however you talk about restarting the server... that means you want it via apache configuration? well how about .htaccess files?
User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Return to PHP & MySQL Security

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.