2 Replies - 478 Views - Last Post: 26 August 2012 - 02:38 AM

#1 StefanOnRails  Icon User is offline

  • D.I.C Head

Reputation: 35
  • View blog
  • Posts: 105
  • Joined: 31-July 12

Is it possible?

Posted 26 August 2012 - 12:36 AM

Hi,

Here's my problem: I want to prevent user from editing my JS files using Google Chrome Development Tools. I know the changes will not be visible for everybody, but I still don't want him to be able to mess around with my Ajax connections or something similar. Is there any way to do this or I should simply not rely too much on JS?
Is This A Good Question/Topic? 0
  • +

Replies To: Is it possible?

#2 Mina-no-Hime  Icon User is offline

  • D.I.C Head

Reputation: 98
  • View blog
  • Posts: 176
  • Joined: 23-August 12

Re: Is it possible?

Posted 26 August 2012 - 12:44 AM

You aren't going to be able to prevent the user from doing so, because they are downloaded and executed purely on the client. There should never be any threat coming from AJAX calls - if there are, that's something that you need to implement a server-side prevention for - so there should be no reason to try to block this.
Was This Post Helpful? 2
  • +
  • -

#3 StefanOnRails  Icon User is offline

  • D.I.C Head

Reputation: 35
  • View blog
  • Posts: 105
  • Joined: 31-July 12

Re: Is it possible?

Posted 26 August 2012 - 02:38 AM

Thanks for your reply, I posted this question because I wanted to hear an extra opinion, I usually don't rely too much on Javascript :lol:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1