保护js文件下载(Hack)

I learning php and jquery. I 'am using ajax very well.

But what happend if something know the name of mi js file? for example ajax_security.js, and the he can download the file. He can seen my pass key or how the page work.

fos Example :ajax_security.js

$.ajax bla bla data{can_pass:yess;}

While in other php file are wainting .. if($_POST[can_pass]=='yess'){ you can enter and do anything!}

Can I hidde the js file from the bad people? Is a bad languaje jquery?

Thank You!!

The client side JavaScript will always be readable by the visitor, since his/her browser will need to execute the script. The security should be placed in the files executed by the server (the PHP files in this case).