Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Is storing SMTP details in Session object (IP, username, password) secure?

$
0
0

Hi.

I've written a tool for multiple companies to use.  Rather than it send emails from my SMTP server (support@mydomain.com) I want to let them use their own SMTP server (support@theirdomain.com) to send emails from.  I can store these settings in a SQL database.  My question is:

I can retrieve them once at login, and store them in a session object which they can use each time they send an email.  Is this secure?

Or

I could read the settings from the database each time they send an email (perhaps not as efficient?).

Thanks for any advice.


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>