3 Replies - 390 Views - Last Post: 02 November 2012 - 06:52 AM

#1 risky14  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 21
  • Joined: 12-September 12

How to password protect my code?

Posted 01 November 2012 - 08:28 AM

I'm developing a website that's programmed in HTML and CSS with C# applications and there is going to be a forum in PHP and MYSQL. My question is how do I go about password protecting the whole code from hackers?
Is This A Good Question/Topic? 0
  • +

Replies To: How to password protect my code?

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3576
  • View blog
  • Posts: 10,441
  • Joined: 08-June 10

Re: How to password protect my code?

Posted 01 November 2012 - 08:32 AM

what do you mean by "whole code"?
you certainly can password protect your C#, PHP and MySQL code just by not spilling your FTP password. XSS & SQL Injection protection should help against inserting malicious code from outside.

but neither HTML nor CSS can be protected because the client browser needs access to it.
Was This Post Helpful? 1
  • +
  • -

#3 Kruithne  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 99
  • View blog
  • Posts: 442
  • Joined: 28-July 09

Re: How to password protect my code?

Posted 02 November 2012 - 04:02 AM

Providing you keep things sensible there should be nothing in your HTML/CSS that would be of advantage to hackers. They cannot see your PHP/MySQL scripts providing you keep your server well protected and as Dormilich said, don't spill your passwords for it.
Was This Post Helpful? 1
  • +
  • -

#4 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5674
  • View blog
  • Posts: 12,189
  • Joined: 02-June 10

Re: How to password protect my code?

Posted 02 November 2012 - 06:52 AM

You might find this thread interesting:
http://www.dreaminco...0&#entry1736454
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1