0

how can i protect my css code sourse ??

simple question

12th May 2017, 6:35 PM
Meknaci Fahd
Meknaci Fahd - avatar
4 Answers
+ 3
You can't protect your css you can try HTML referer but it's​ easy to bypass this weak protection
12th May 2017, 6:39 PM
⏩▶Clau◀âȘ
⏩▶Clau◀âȘ - avatar
+ 3
Generate it with JS, even with crypting the source: this is not a good idea, and will not prevent to be seen/retrieving by someone, but it will make that more difficult to achieve ;) ( Not good idea, because if JS isn't available -- in the browser itself, or desactivated by user -- your page will look so bax :P ... except if you have a minimal style sheet not protected ^^ )
12th May 2017, 8:39 PM
visph
visph - avatar
0
you can only put it inside js and encrypt it, but it's stupid way
12th May 2017, 8:36 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
and why you need to protection for your css? look at big companies websites like Google, Facebook etc. they not hidding their css and it's just a stylesheet not a program
12th May 2017, 8:44 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar