What can I do to be more secure?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
wdkw
Forum Newbie
Posts: 2
Joined: Mon Dec 03, 2012 6:14 am

What can I do to be more secure?

Post by wdkw »

I am working on MVC structure. What can I do to be more secure?
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: What can I do to be more secure?

Post by Eric! »

That's like asking "How long is a piece of string?"

You have to ask a specific security question with some code for evaluation, otherwise there's little anyone can do to help you. Are you using a framework? What activities are you trying to make secure? Show some sample code with your concerns.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: What can I do to be more secure?

Post by Benjamin »

The best security is to unplug the WAN cable.
wdkw
Forum Newbie
Posts: 2
Joined: Mon Dec 03, 2012 6:14 am

Re: What can I do to be more secure?

Post by wdkw »

Eric! wrote:That's like asking "How long is a piece of string?"

You have to ask a specific security question with some code for evaluation, otherwise there's little anyone can do to help you. Are you using a framework? What activities are you trying to make secure? Show some sample code with your concerns.
You're right, I asked the question in a very superficial. I'm sorry English is not very good. such as
1 - I'm with PDO database connections and transactions with it doing in the classroom to create a $ db. For example, "$ database = new db (); $ database-> db-> query (" select * from table ");" using the form. basitleştirebilirim how to do this more?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: What can I do to be more secure?

Post by Christopher »

Validate and filter all input. Escape any untrusted values going into the database or back to the browser.
(#10850)
disha
Forum Newbie
Posts: 5
Joined: Fri Jul 18, 2014 6:21 am

Re: What can I do to be more secure?

Post by disha »

Hi,
Can you please elaborate your question please. I am not understood which type of security you want for MVC, which language you use and on which framework you have work. So, by this anyone can give you a proper guideline regarding to the security.
Post Reply