midpen Posted February 23, 2010 Share Posted February 23, 2010 My domain/stylesheet.css cokie_usage.php SSL_check.php are all accessible (read-able). Should it be? How to make it "HTTP 404 Not Found"? Thanks. The file permissions are 644 now Link to comment Share on other sites More sharing options...
germ Posted February 23, 2010 Share Posted February 23, 2010 My domain/stylesheet.css cokie_usage.php SSL_check.php are all accessible (read-able). Should it be? How to make it "HTTP 404 Not Found"? Thanks. The file permissions are 644 now 644 is fine. If it aint broke, don't fix it. :thumbsup: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
MrPhil Posted February 23, 2010 Share Posted February 23, 2010 What exactly are you trying to accomplish here? A CSS file must be readable by anyone (644 or 444 permissions), or your pages won't be styled. There's no way I know of to get a 404 error on a CSS file, yet still have it read to style pages. Anyone can grab a copy of the CSS file and read its source. As for the two PHP files, no one should be able to read their source from a browser, no matter what the permissions. They could certainly run the files, and whatever the consequences are of that action. Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted February 24, 2010 Share Posted February 24, 2010 There is certainly a way of doing it, but what's the point? There is nothing in the css file that is a danger to security. Are you trying to protect some intellectual rights or something? Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
midpen Posted February 24, 2010 Author Share Posted February 24, 2010 There is certainly a way of doing it, but what's the point? There is nothing in the css file that is a danger to security. Are you trying to protect some intellectual rights or something? I am now in OSC and almost know nothing about it, unlike someone here is very advanced. I thought it was weird that the stylesheet.css could be read by typing domain/stylesheet.css in anyone’s browser. I tried a few OSC stores and they came out with “HTTP 404 Not Found", that was why I had question on it. If it should be, just let it there. For the other two files, I never saw them at other online stores when I made purchase, and no where could be accessed in store pages, not sure what would be a case they would come out. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.