Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Security, using Windows Server 2003's built-in smtp

Security, using Windows Server 2003's built-in smtp

Scheduled Pinned Locked Moved Web Development
sysadminwindows-adminagentic-aisecurityquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    harleydk
    wrote on last edited by
    #1

    Hello folks, I can send an e-mail from my web-server like so:

          SmtpClient mailClient = new SmtpClient();
          mailClient.Send(some defined mail);
    

    I'm however unsure as to the security in this. If someone should gain access to the machine, and it's set up to allow the above, wouldn't this mean the attacker would be able to use the server as a spam-bot? Many, many thanks for your input (and possible a great link explaining the reasoning behind it), Morten

    N M 2 Replies Last reply
    0
    • H harleydk

      Hello folks, I can send an e-mail from my web-server like so:

            SmtpClient mailClient = new SmtpClient();
            mailClient.Send(some defined mail);
      

      I'm however unsure as to the security in this. If someone should gain access to the machine, and it's set up to allow the above, wouldn't this mean the attacker would be able to use the server as a spam-bot? Many, many thanks for your input (and possible a great link explaining the reasoning behind it), Morten

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      harleydk wrote:

      allow the above, wouldn't this mean the attacker would be able to use the server as a spam-bot?

      All the code you showed is doing is sending an email using the smtpclient, it doesn't expose anything. The SMPT server itself must be configured properly. SMTP Server Setup (IIS 6.0)[^]


      only two letters away from being an asset

      1 Reply Last reply
      0
      • H harleydk

        Hello folks, I can send an e-mail from my web-server like so:

              SmtpClient mailClient = new SmtpClient();
              mailClient.Send(some defined mail);
        

        I'm however unsure as to the security in this. If someone should gain access to the machine, and it's set up to allow the above, wouldn't this mean the attacker would be able to use the server as a spam-bot? Many, many thanks for your input (and possible a great link explaining the reasoning behind it), Morten

        M Offline
        M Offline
        Marc Firth
        wrote on last edited by
        #3

        Are the two machines on the same domain? If so you will automatically have extra permissions locally.

        Portfolio | Web Design, Web Hosting & IT Support

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups