tag:blogger.com,1999:blog-43328947796759137242024-03-14T03:16:41.438-07:00.net platform development - C# & VBTips, information and code samples about development on Windows using Visual Studio, SQL Server and other technologies. Examples in C# about weakness in web-based apps and desktop appsajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-4332894779675913724.post-89896128331865896172014-12-30T10:13:00.001-08:002014-12-30T10:13:43.314-08:00SQL Injection - example using C# and MySQL
At this post we see a simple SQL injection example using a C# app and MySQL as database manager.
First steps:
In MySQL we already have an "ejemplo" (example) database and a "login" table, our login table has 2 rows (each row is a unique user); 1st user name is "alfonso" and its password is "123", 2nd user name is "jesus" and its password is "456".
After we create our project we need toajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0tag:blogger.com,1999:blog-4332894779675913724.post-20851615631484713892014-04-07T14:07:00.000-07:002014-04-07T14:11:36.675-07:00XML serialization with C#According to wikipedia:
"Serialization means converting an object into a data stream and writing it to storage. Any applet, application, or tool that uses that object or bean can then "reconstitute" it by deserialization. The object is then restored to its original state."
Serialization is a process that converts an object into a "bytes secuency" and those bytes can be stored or transmitted toajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0tag:blogger.com,1999:blog-4332894779675913724.post-15211906396785046322014-03-19T10:23:00.006-07:002014-03-19T10:59:10.567-07:00Implementing fingerprint readers in .net - Part twoThis post will show us the way we can implement a fingerprint reader in .net applications.
This example is a C# app and was coded in Visual Studio 2010 using a MySQL database and Griaulle fingerprint SDK 2009. You can visit http://csharp-talks.blogspot.com/2009/10/implementing-fingerprint-readers-in-net.html. Connections between C# and MySQL were done with MySQL connector/net.
After ajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0Mexico23.634501 -102.55278399999997-5.104478 -143.86137799999997 52.37348 -61.244189999999975tag:blogger.com,1999:blog-4332894779675913724.post-40215287126341687702014-01-15T12:27:00.002-08:002014-01-15T12:27:24.908-08:00Working with SecureString class and passwords in .net frameworkWorking with apps connected to DataBases I almost always use a class to manage all connections and queries to database (avoiding saving passwords in strings). To avoid saving passwords in memory we use class SecureString [System.Security.SecureString].
A very important topic is SecureString implements CriticalFinalizerObject, this means SecureString is considered a "Constrained Execution Region ajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0Mexico23.634501 -102.55278399999997-5.104478 -143.86137799999997 52.37348 -61.244189999999975tag:blogger.com,1999:blog-4332894779675913724.post-35473260625629688672013-12-20T09:33:00.000-08:002013-12-20T14:11:35.366-08:00MDI forms in .net using C# and Visual Studio 2010 Express There are two kinds of forms:
SDI (Single Document Interface)
MDI (Multiple Document Interface)
We are interested in MDI forms. MDI forms allow us to contain children form between.
Steps:
As 1st step, we create a new project (Windows application).
In main form, set property IsMdiContainer to True (See example)
main form, click to enlarge
Now we create our child form and it works as aajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0IBM Campus Tecnológico Guadalajara20.566501426438414 -103.2907962799072320.559068426438415 -103.30088127990723 20.573934426438413 -103.28071127990722tag:blogger.com,1999:blog-4332894779675913724.post-47135050380763744922009-11-09T20:00:00.000-08:002009-11-09T20:19:11.334-08:00Ganadores del concurso Blogit.msPor fin ha salido la lista de los ganadores del concurso organizado por Microsoft "blogit.ms", para todos aquellos que seguimos el concurso de cerca, podemos ver la lista de los ganadores en el siguiente enlace:lista de ganadoresFelicidades a los ganadores!!!!ajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0tag:blogger.com,1999:blog-4332894779675913724.post-64576862745171642592009-10-29T21:17:00.000-07:002014-04-25T14:17:12.307-07:00Implementing fingerprint readers in .net - Part one
In this post, we will see the basics for implementing a fingerprint reader to secure the access to our applications; we need a fingerprint reader (it can be Microsoft), the Griaulle Fingerprint SDK and a database.
2nd Part: http://csharp-talks.blogspot.com/2014/03/implementing-fingerprint-readers-in-net.html
Concepts
As a first step, we need a biometric sample in a digital format (ajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com2tag:blogger.com,1999:blog-4332894779675913724.post-18376505925615203822009-05-31T22:54:00.000-07:002009-05-31T23:08:19.123-07:00The New York Times > Technology WebsliceVisita la versión en español de esta entradaOn this post, I'm offering a Webslice for being up to date on Technology news.Due to Security-related aspects, you can't get a suscription for the webslice from this server.Get the webslice here.Important: The webslice only works on Internet Explorer 8 and Mozilla Firefox with the Webchunks add-on.Anyway, here you have the news:ajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0tag:blogger.com,1999:blog-4332894779675913724.post-2894027361838998512009-05-30T22:46:00.000-07:002009-05-31T07:56:06.582-07:00Microsoft plans to offer an anti-malware solution
The redmon guys have decided Improve even more their's OS security and (of course) improve (too) the user's experience. How are they gonna do it? offering a new profesional antivirus on their OS.
Code-named morro probably is gonna appear on the second half of 2009 and is gonna replace OneCare. Morro will be designed to work with a few resources (and that's great!!!)
Maybe the best techniqueajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0tag:blogger.com,1999:blog-4332894779675913724.post-68731194877300490492009-05-30T14:52:00.000-07:002009-05-30T19:23:59.858-07:00The first postThis blog is about computer security and is the English version of http://topicos-seguridad.blogspot.com.Stay in Touchajesusfloreshttp://www.blogger.com/profile/09758046202702759475noreply@blogger.com0