Jump to the post that solved this thread.
Solved: 4 Years, 11 Months, 1 Week ago Restricting access to directories
#1
Solved: 4 Years, 11 Months, 1 Week ago
Hi everyone,
I'd like to restrict users from accessing pages I do not want them to explore. I'm not sure how to explain this properly but I'll try. For example suppose there is this userbar image on my website:

http://website.com/images/groupimages/admin.png

Now users can get the above link by simply checking the link of the image. Now he can remove the unwanted part of URL and browse through the current directory and it's parent directories like:

http://website.com/images/groupimages/
http://website.com/images/

[Image: LAE9aVa.png]

How do I prevent users from doing this? I'd like to somehow redirect them automatically to the homepage or display a blank page, an error or something similar. Thank you!
Reply
Jump to the post that solved this thread.


Messages In This Thread
Restricting access to directories - by Inception - 2016-07-06, 07:12 AM
RE: Restricting access to directories - by .m. - 2016-07-06, 07:20 AM
RE: Restricting access to directories - by .m. - 2016-07-06, 07:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)