sixguncynic Posted November 22, 2010 Share Posted November 22, 2010 Is there a way to provide page embedded (non-popup) access to an htaccess/htpasswd protected directory? (I'm assuming 'no' as I've looked...a LOT.) If not, is there a php alternative that will block ALL access to a directory (i.e. url-hacking for images/flash files/music files/etc?) Not looking for someone to do my code, but a pointer, or ten, would be great. -SGC- Quote Link to comment https://forums.phpfreaks.com/topic/219428-htaccess-alternative/ Share on other sites More sharing options...
trq Posted November 22, 2010 Share Posted November 22, 2010 You can move your protected files outside of the document root so they are not accessible via the web, then easily created a php page that will serv them from there. Quote Link to comment https://forums.phpfreaks.com/topic/219428-htaccess-alternative/#findComment-1137803 Share on other sites More sharing options...
sixguncynic Posted November 22, 2010 Author Share Posted November 22, 2010 I was trying to avoid doing that, if possible. (Would like to be able to url-hack once logged in) Quote Link to comment https://forums.phpfreaks.com/topic/219428-htaccess-alternative/#findComment-1137805 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.