In web page designing i am using css files and js files and these css files and javascript files are called in jsp page as follows:
<script type="text/javascript" src="datepick.js"></script>
<link rel="stylesheet" type="text/css" href="datepick.css" />
If somebody views page source then he can know css files
as well as js files
, but how can i prevent it?
in index.jsp
<html>
<head>
<script type="text/javascript" src="datepick.js"/>
<link rel="stylesheet" type="text/css" href="datepick.css"/>
</head>
<body>
..............
..............
</body>
</html>
If somebody views page source then immediately he can view datepick.css
and datepick.js
, which i do n't want. How can i prevent him from viewing these css and javascript files?