Results 1 to 2 of 2

Thread: Can this be done to make it secure

  1. #1
    Join Date
    Oct 2013

    Can this be done to make it secure

    Hi All,

    With Javascript, can i put the javascript in another file and folder to make it more secure so the users cant see the javasript file the the HTML is linked to? What mākes PHp more secure than javascript?

    Is there alot of difference between javascript and Php coding?

  2. #2
    Join Date
    May 2006
    Somewhere behind your screen
    - yes, you can put the javascript in an external file, but any more or less advanced user can see its source by opening the js file in his browser
    - PHP is a server-side language and this makes it more secure than javascript because it's source is never seen
    - it's not correct to compare these languages
    - i believe that if a skilled hacker goes to attack your site, he most likely will achieve his goal anyway
    signature under construction

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center