Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

stylesheet.css un-accessible


midpen

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...