0

I have an MVC3 site that uses Windows Authentication.

I need some way to kick off code on the site through a batch file. My existing solution is to use cURL to call the methods of one of my controllers (I believe this is called a webhook?) However I'm running into authentication problems, and I don't want to include a domain user/password in the batch file.

I was considering creating a seperate site that uses Anyonymous auth for this one controller, but figured there has to be a better way to accomplish what I'm trying to do.

Advice would be appreciated.

4

1 回答 1

0

事实证明您可以在 cURL 中使用 Kerberos 身份验证

curl.exe --negotiate -u : [url]
于 2013-05-02T18:48:39.633 回答