Hi, is it possible to encrypt my CSS file, like html Encryptor? or is there a way to stop the file being downloaded and used?
See my response to your other post for why encryption is a bad idea in general.
You can make it hard to read (for example, remove all line breaks), but I don't know of any way to actually "encrypt" it into something completely hidden.
This is now how the web is supposed to work.
And, I promise, your code is not special enough (especially CSS!) that it needs to be hidden. Everything on the web is meant to be shared. Decide if you want to upload it, but don't pretend that you can actually hide it.
Note also that for the second part of your question is it absolutely not possible to stop someone from downloading your CSS.
Well-- it is-- just don't upload it in the first place.
Even if you find a way to encrypt things, there are very easy ways around this, such as in firefox using right click > view selection source and you can see the ACTIVE source code, not the original encrypted version.
Anyone who's done web design for a while will tell you there's no point in this, but for most designers just starting it seems like a good idea. (But it's not.)
Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Tags for this Thread