How to hide css and javascript in web application

Posted by Sahoo under IIS on 3/26/2013 | Points: 10 | Views : 1289 | Status : [Member] | Replies : 5
Hi

How can we hide CSS /Java Script file in web application.If someone view user FireBug/Resource in Chrome , any one can view details of above said files. Also someone can directly browse a file if he know the Path.How to prevent it ?

Many thanks in advance




Responses

Posted by: Jayakumars on: 3/26/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

is it not possible becos jscript css rooted our app path so.

Mark as Answer if its helpful to you

Kumaraspcode2009@gmail.com

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mohansubramanian on: 3/26/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,

we can create standard encrypt and decrypt algorithm in any script langauge. by this we can protect our CSS/Javascript.

Regards,
Mohan
http://www.powerofmicrosoft.blogspot.in/

Regards,
Mohan Subramanian
http://mohanks.com

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sahoo on: 3/29/2013 [Member] Starter | Points: 25

Up
0
Down
Thanks you all
Is there any setting from IIS to do it ?

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 3/29/2013 [Member] Starter | Points: 25

Up
0
Down
but bro why do you want to hide that, many developers rely on them :)

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sahoo on: 3/29/2013 [Member] Starter | Points: 25

Up
0
Down
Hi Ankitsrist,

My client want it :(

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response