What can I do to disable public downloading of my .htaccess file? I am on a Linux box. I can't chmod the file because the web browser still needs access to it, obviously. I know that there is a line I can add to it so that it gives the user a 403 Permission Denied error upon directly accessing it, but I don't remember what it is. Anyone know?
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
treydawg 0 Newbie Poster
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
treydawg 0 Newbie Poster
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
wfwh 0 Newbie Poster
YUPAPA 0 Light Poster
tommytomato 0 Newbie Poster
nileshgr
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.