Are you a Google Analytics enthusiast?
More SEO Content
How To Protect My Css File?
Posted 03 March 2005 - 03:11 AM
Is there a way to set things up so that if someone tries to type in the URL to my CSS
file in their browser, a 'you do not have permission to access this file' or similar error
Posted 03 March 2005 - 03:24 AM
Posted 03 March 2005 - 04:13 AM
Nothing is really safe if it needs displaying on the clients computer, because it needs to be on the clients computer, either on hard disk or in memory, it is somewhere.
Posted 03 March 2005 - 06:08 AM
(htaccess is a curly thing - sometimes you need to read it written a couple of different ways before it makes sense)
Obviously you would change references to 'jpg' or 'gif' to 'css'
Posted 03 March 2005 - 10:12 AM
Posted 03 March 2005 - 11:49 AM
[moving this to technology and coding section.]
Posted 03 March 2005 - 11:53 AM
Posted 03 March 2005 - 12:01 PM
The problem with trying to block access to it is the conflict that exists. The browser (and therefore the user) MUST be able to read the css file. Blocking access to it would effectively prevent the browser reading it AFAIK.
Posted 03 March 2005 - 01:26 PM
You are certainly _not_ thick. Indeed, I wholeheartedly agree that this is pointless and a waste of time / resources / etc. However, the powers that be in my org are concerned that 1) using CSS-only layouts will bump them to the top of the SERPs & 2) that (if #1 is true) that this knowledge & the techniques used to do so must be kept secret. I have tried to convince them that #1 is not the case & that #2 is pointless, however my arguements have fallen on deaf ears.
Indeed, this is the main arguement that I used. (The link I posted above was found in a 1/2 hearted attempt to placate the others in the discussion & end the debate.)
Posted 03 March 2005 - 01:56 PM
Posted 03 March 2005 - 02:09 PM
They're dreaming, I'm afraid. I would love it if search engines preferred sites that used valid code and CSS for layout. Think of all the work we'd all have But it just isn't true. I've seen absolutely no evidence to support it
As far as I can tell, spiders will go through a document and grab what they need to grab, ignoring everything else. The only advantage a CSS layout gives you in that sense is that if you've coded so badly and sloppily that your pages are huge, the spiders might not make it through. With CSS, that's a non-issue.
Besides, it just wouldn't be nice if people could hide their style sheets. How would the rest of us learn anything? Surely we can't all be expected to figure everything out on our own.
Posted 03 March 2005 - 02:25 PM
true...but learning and stealing are two different things. I've got no problem with anyone learning and being inspired by my design. After all their aren't too manyd designs out there that are truly unique. But I'd say that 90 percent of the people that end up view my css are there to steal it, not learn how I did something. It hacks me off the most when the person that stole it is some big designer who charges their client 10,000 for my design...the designer is too busy making money to bother to ever learn from my css it's just easier to steal it.
Another advantage of separating presentation from content is the fact that it helps people with screen readers etc. That way the visitor doesn't hear, "Welcome to our site, we sell spacer image this image for presentation only widgets."
Posted 03 March 2005 - 02:38 PM
Posted 03 March 2005 - 04:23 PM
Posted 03 March 2005 - 06:06 PM
that's what I love about big organizations...everyone has an opinion about what should be done with the website...notice how no one gives tips to the guy from the mail room on how to hand out mail...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users