Hello, I have noticed that it is possible to navigate inside my folders structure, but I don’t want to this be possible.
It est, it is possible to put in the navigation box: “https:…/myFolders/AnotherFolder/”
and with so I can reach to this folder. I don’t want this. Is there any way to inhibit that behaviour?
My website URL is http://abreojosensamblador.epizy.com/
I’m not using any special software to developping my site, just notepad++.
Thank you
you mean you wanna that gets denied?
If yes simply create .htaccess file in /myFolders and put this into it:
Order Allow,Deny
Deny from All
1 Like
Perfect! It works, thank you
Ops, not so. This way I prevent any access to any subfolder. There are some source code files that I have in some subfolder that have to be available to see. What I don’t want is that anybody can access to the subfolder itself.
For example. I should be able to access to http://abreojosensamblador.epizy.com/Productos/AOE/Codigos/Cap02/MundoCM1.asm What I don’t want is that anybody could put in the navigation bar of its web navigator “http://abreojosensamblador.epizy.com/Productos/AOE/Codigos/Cap02/ ” to get to this subfolder in its entirily
I think that I’ve finally I’ve got it. Creating the .htaccess with the next lines:
# Disable directory browsing
Options -Indexes
3 Likes
system
Closed
September 6, 2019, 8:44pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.