Using Delphi to send email by web service (without leaking credentials and without user interaction) -
i have delphi application, needs send generated pdf file email 1 recepient of predefined list of recepients.
- i not want mess around mapi (not customers have configured this)
- i not want customers enter mail account details (this means smtp no option either)
therefore consider use / setup paas web service receive email text, pdf file , index number of recepient work. question is: out-of-the-box solution exist in delphi, or preferable way?
for instance considered using google app engine there seems no builtin support in delphi. prefer out of box solution or tested solution decent documentation. server part should simple possible.
edited: clarifications:
- the resulting exe installed @ customer computer. think setting mail account therefore no option, because extract credentials exe , abuse mail account. same seems true web services provide 1 (login/password) access.
- using oauth2 seems no option either because want send email without user interaction.
- if credentials need saved in executable, , existing answers suggest so, should @ least provide limited rights.
is solveable @ all?
is solveable @ all?
no.
if require neither user (by filling in login form, case oauth 2.0) nor program (by providing hard-coded credentials) authenticates web service, communication web service can not secure.
i suggest re-think security requirements , make them clearer in question.
Comments
Post a Comment