Securing an ASP.NET application with a database using XML


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Securing an ASP.NET application with a database using XML

  1. #1
    XML Dummy Guest

    Securing an ASP.NET application with a database using XML


    I need to create a web application that will be built using ASP.NET and a
    SQL Server backend. How could XML be used in here? Would it be necessary
    to use XML to transport the data from the database to the ASP? Would XML
    help with any security issues?

  2. #2
    MarkN Guest

    Re: Securing an ASP.NET application with a database using XML


    "XML Dummy" <XMLDummy@hotmail.com> wrote:
    >
    >I need to create a web application that will be built using ASP.NET and

    a
    >SQL Server backend.
    >How could XML be used in here?


    Depends. Using WebForms? See your next question. Generating your own HTML?
    Yes.

    >Would it be necessary to use XML to transport the data from the database
    >to the ASP?


    Necessary? No. Useful? Depends. If your app will be all MS tools (now
    and the future) then not really. If the database is on the same server as
    the webserver then definitely not really. If the database and webserver
    are not on the same server and you are not 100% sure you will always use
    MS products then use XML to communicate between the business layer and the
    data access layer.


    > Would XML help with any security issues?


    Currently, quite the opposite. XML is plain text and currently the standard
    protection is SSL, which makes apps run slowly. But why use that (SSL) if
    everything is server-side? If you can't trust your friends, who can you
    trust.

    I was going to make a comment about MS security, but I won't. I guess I
    kinda just did.

    Mark

  3. #3
    Neal Guest

    Re: Securing an ASP.NET application with a database using XML


    "MarkN" <enterprise.@127.0.0.1> wrote:
    >
    >"XML Dummy" <XMLDummy@hotmail.com> wrote:
    >>
    >>I need to create a web application that will be built using ASP.NET and

    >a
    >>SQL Server backend.
    >>How could XML be used in here?

    >
    >Depends. Using WebForms? See your next question. Generating your own

    HTML?
    > Yes.
    >
    >>Would it be necessary to use XML to transport the data from the database
    >>to the ASP?

    >
    >Necessary? No. Useful? Depends. If your app will be all MS tools (now
    >and the future) then not really. If the database is on the same server

    as
    >the webserver then definitely not really. If the database and webserver
    >are not on the same server and you are not 100% sure you will always use
    >MS products then use XML to communicate between the business layer and the
    >data access layer.
    >
    >
    >> Would XML help with any security issues?

    >
    >Currently, quite the opposite. XML is plain text and currently the standard
    >protection is SSL, which makes apps run slowly. But why use that (SSL)

    if
    >everything is server-side? If you can't trust your friends, who can you
    >trust.
    >
    >I was going to make a comment about MS security, but I won't. I guess I
    >kinda just did.
    >
    >Mark


    As an addition to the query regards using XML as a data transfer medium -
    it is my understanding that ASP.NET when used with ADO.NET for data access
    and SQL Server 2000 is already optimised to use XML as the data transfer
    medium.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center