Jump to content

PHP file restrictions


talor123

Recommended Posts

i have written up a login/register script in php,

register makes new directorys/files in the folder "Data/account_info", and login script reads those files to verify password and user(i use fread to get info from files)

my problem is that if i want the script to work, "Data/account_info" has to be 'viewable' for people viewing my website... i want it so if they try to access the folder they get denied but also i want it so my login/register script can still have access for reading/writing files to "Data/account_info"...

 

so basicly no one can view "Data/account_info" but scripts can access it.......

if you want my script just ask

thank you :)

Link to comment
https://forums.phpfreaks.com/topic/112001-php-file-restrictions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.