|
chandu.pamidiboina wrote: <layer>How to provide security to high level security to projects using system information in c#
Your question is not clear; how does system information relate to security here?
Security is a broad subject, and there's not a "code to include" or library that you can hookup and say "I'm secure".
Just as your house, when you install a large lock on the door, you feel safer - but hire an expert on the subject and he'll point out the ladder in the backyard, the unlocked windows, and the spare key under the second rock next to your front door.
What is it that you need to secure? A webapp, data, a server, sourcecode, passwords, a physical room with limited access?
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Although Microsoft by default give you security like try one thing in Microsoft Visual Studio there exist venerability like XSS(Cross Site Scripting), Sql Injection, http request attack, Directory Listening etc but if you are using older version then you have to secure it by code tricks but in next version Microsoft have been solved this venerability so take regular updates to your visual studio you don't need to worry regarding your application, Although you wan't more security then you can use HTTPS that can be configure by WCF but for that you have to purchase ssl certificate it is mostly use by gmail pages.
Now for that try one thing Create new web application
Visual Studio > New > Website > C# web apllication > Take new Textbox and command button
Now run this project and write
"Alert("Hi");"
Now click on Submit button
It will give you an error like that XSS or CSS(Cross Site Scripting) so now you are secure. Not to worry regarding that just use latest things avoide to use old versions automatically secure.
|
|
|
|
|
Hitul Mistry wrote: versions automatically secure.
Basically all wrong.
Software does not and never will be able to provide complete protection.
Technology certainly doesn't.
As an example of that, you store your credit card numbers on your computer and you believe your application is secure. So I just walk into your office and walk out the door with your computer.
Even if you use normal encryption idioms the box I walked out with will still have everything I need to retrieve them in an unencrypted form.
|
|
|
|
|
Then you don't know how to ask question dear because you should ask like that how to secure webpage using https encrption i.e. ssl certification with 128bit encryption . You know anything about hacking you have every crack any security have you uploaded any shells, rooted any server, done any type of hacking or something then based on what you can doing so see man in security your mind plays because i know security codding i make my own codding see suppose your website have something another venerability like DNN then there is no meaning for any encryption for that your website should be secured.
For Encrption see one video tutorial
http://www.screencast.com/users/Shivkoi/folders/Default/media/92f7f313-9b1f-47f9-b99e-b9e098263da3[^]
May be help you.
|
|
|
|
|
- TopicStarter did not mention websites
- I don't do websites
- https will be very helpfull if I download all the passwords that are stored in text-format
- security is a broader subject than this
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
What at you talking about. It makes perfect sence:
The dude knows security codez, and wanted to analyze our codez and see if crack,server, dnn, https is secure.
All the best,
Dan
|
|
|
|
|
Hitul Mistry wrote: Then you don't know how to ask question dear
I didn't ask a question.
Hitul Mistry wrote: because you should ask like that how to secure webpage using https encrption i.e. ssl certification with 128bit encryption .
I don't need to ask how to do that. I do however know that if you think doing just that makes your business secure then you are wrong.
Hitul Mistry wrote: then based on what you can doing so see man in security your mind plays because i know security codding i make my own codding see suppose your website have something another venerability like DNN then there is no meaning for any encryption for that your website should be secured.
Not sure what that means except you seem to be agreeing with me in that technology does not make a business secure.
|
|
|
|
|
I need code to provide security through web application
|
|
|
|
|
chandu.pamidiboina wrote: I need code to provide security through web application
That you already mentioned, and you have been given quite some answers[^].
I'm not going to provide code; you'll have to write it yourself, or find someone who will.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
|
I wouldn't want 'high level security' coded by someone who asks for codez plz urgentz on CodeProject ...
|
|
|
|
|
Yes but unfortunately we have no idea what skill level the programmers have who create the web sites that we visit.
|
|
|
|
|
..as long as they stick to websites, all is well.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
I am trying to update a textbox in my main form, from a thread that I started in the click handler of a button of the form itself .... it keeps sending the exception that I can't do that from a thread other than that which created the control ...
how can it be ? how can I get to update that damn textbox using a different thread ? there' s no other way my program can work .....
|
|
|
|
|
From your thread;
List<SomeClass> MyData;
UpdateGUI(MyData);
In the form;
void UpdateGUI(List<SomeClass> someData)
{
if (InvokeRequired)
{
Invoke(new Action<List<SomeClass>>(UpdateGUI), new object[] { someData });
return;
}
}
MSDN[^] holds some nice examples.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
Great info ... now it seems I can make it work ....
Thanks a lot for the input !
Leo
|
|
|
|
|
Are you all right my old friend? We haven't seen you in such a long time.
|
|
|
|
|
No worries, I'm fine, thanks. After long consideration I have decided not to spend time around here anymore. I don't like what CP has turned itself into; when publishing articles became nearly impossible, the bugs & sucks forum became the most active one, and CP staff didn't seem to care about it, I decided it was time to move on. When they seem to focus on membership counts, parallel sites, cosmetics, i.e. everything but quality and contributor's comfort, well that is their choice. The automatic downvote on every new message nailed it for me; it was yet another example of the don't-think-don't-test policy that had crept in. Maybe in the mean time things have changed for the better (I doubt it), I have no idea what the functionality or quality of the site currently is, I do know the new layout is making sure I won't return.
I have enjoyed the site and the community for many years; I learned a lot in the 5+ years I have been active here, and I am grateful for the guidance people like yourself have offered. I'll miss a number of nice guys (some of them long gone), and I will cherish the good memories, however this chapter has been closed.
So goodbye it is.
PS: While I much appreciate your enquiry, I unchecked e-mail notifications, as I don't want to enter a discussion on this subject. I had decided to leave quietly, and don't want to stir things up now.
|
|
|
|
|
Just in case you read this message, I wish you well for the future, and you should leave here knowing that you were appreciated, and that you did make a difference - and no one can ask for more than that. All the best for the future my friend, and if I'm ever back over in Belgium, the drinks are on me.
|
|
|
|
|
I Create Login From And MDI Form for a project
my requirement is view a mdi form after giving user name and password on user from,
but the problam is when i close the login form the mdi form also disposed how to overcome this problem
|
|
|
|
|
The reason this happens is because your Main method in Program.cs contains Application.Run(new LoginForm()); . This means that the Windows message loop is tied to your login form. The best thing to do is to show your login form as a modal dialogue, and if login is successful, you show your mdi form, like this:-
static void Main()
{
LoginForm login = new LoginForm();
if (login.ShowDialog() == DialogResult.OK)
{
Application.Run(new MdiForm());
}
else
{
Application.Exit();
}
}
Hope this helps
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
I have created a console app where it will finally create a text file. Everything run well when I run the program manually but not when I used scheduled task to run it.
Anyone know the reason?
|
|
|
|