Security issues relating to submitting href links and text:

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Security issues relating to submitting href links and text:

    I am currently developing a website (ASP.NET) which allows users to
    submit a web form containing a href link in one field and descriptive text
    in another field. The records will stored to varchar columns in a SQL Server
    2000 database and hosted by a 3rd party ISP. The list of links will then be
    made available to other users.
    What general security precautions should be taken when developing a
    website of this nature? Specifically, I am concerned about the possibility
    of malicious SQL or ASP script insertion and it's impact on the web or
    database server. I am already using client and server side validation to
    restrict the description field to alpha-numeric characters, period and
    spaces.


    Chipmunk Guest

  2. Similar Questions and Discussions

    1. Page view issues with newly created links
      I just finished creating links on each page of a 200 page document, allowing users to easily jump from section to section. When creating the links I...
    2. PHP - download multiple text files by submitting an htmlform
      Hello, I am building a site that allows the user to download a set of text files based on user selection on HTML forms. For example, the user can...
    3. Security issues
      http://tinyurl.com/2dlhq -- Ivan "Doomer" Carlos - Cell.: +55 (11) 8112-0666 icarlos@icarlos.net www.icarlos.net -
    4. href links
      My site has gone from 5 pages to 50 over this year. Every page has a sidebar, which includes the title, content and link to the other page on my...
    5. Security Issues with ASP.Net
      Hi All, Need some advice on some of the security issues in my ASP.Net application. There are certain tasks that I need to implement so need...
  3. #2

    Default Re: Security issues relating to submitting href links and text:

    Cross-site scripting vulnerabilities for starters...

    Think about exploits that come out for Internet Explorer that rely on
    carefully crafted malicious URLs. Someone could submit one of those into
    your system. Alternatively, they might submit a link that grabs cookies for
    your domain, and redirects them to a site of the user's choosing. Etc

    Check out the OWASP website ([url]www.owasp.org[/url]) for more information on securing
    web applications.
    Microsoft also as a book you can download from MSDN on building secure
    ASP.Net applications. Get that as well.

    Cheers
    Ken

    "Chipmunk" <reply@newsgroup.com> wrote in message
    news:exaUD3Z%23DHA.3808@TK2MSFTNGP09.phx.gbl...
    : I am currently developing a website (ASP.NET) which allows users to
    : submit a web form containing a href link in one field and descriptive text
    : in another field. The records will stored to varchar columns in a SQL
    Server
    : 2000 database and hosted by a 3rd party ISP. The list of links will then
    be
    : made available to other users.
    : What general security precautions should be taken when developing a
    : website of this nature? Specifically, I am concerned about the possibility
    : of malicious SQL or ASP script insertion and it's impact on the web or
    : database server. I am already using client and server side validation to
    : restrict the description field to alpha-numeric characters, period and
    : spaces.
    :
    :


    Ken Schaefer Guest

  4. #3

    Default Re: Security issues relating to submitting href links and text:

    Please do not cross-post to so many newsgroups.

    Regular expressions are your friends-- use them wisely. You'll want to
    ensure that the data entered matches the formats you expect (easy for URLs,
    harder for "descriptive text"). See [url]http://www.devx.com/vb2themax/Tip/19510[/url]
    for instance.

    --
    Thanks,

    Eric Lawrence
    Program Manager
    Assistance and Worldwide Services

    This posting is provided "AS IS" with no warranties, and confers no rights.





    "Chipmunk" <reply@newsgroup.com> wrote in message
    news:exaUD3Z#DHA.3808@TK2MSFTNGP09.phx.gbl...
    > I am currently developing a website (ASP.NET) which allows users to
    > submit a web form containing a href link in one field and descriptive text
    > in another field. The records will stored to varchar columns in a SQL
    Server
    > 2000 database and hosted by a 3rd party ISP. The list of links will then
    be
    > made available to other users.
    > What general security precautions should be taken when developing a
    > website of this nature? Specifically, I am concerned about the possibility
    > of malicious SQL or ASP script insertion and it's impact on the web or
    > database server. I am already using client and server side validation to
    > restrict the description field to alpha-numeric characters, period and
    > spaces.
    >
    >

    Eric Lawrence [MSFT] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139