0
我有一個使用vb.net 2.0開發的網站。它有一個類似http://dgmseoc.com的網址。我想避免使用其他URL的任何惡意請求。我試圖使用下面的代碼實現,並希望在頁面加載時將這些請求踢出網站。我怎樣才能做到這一點?任何幫助,請 - 謝謝你提前:檢查URL並踢出網站惡意請求
If (urlParams.Contains("http") And
Not urlParams.Contains(Request.ServerVariables("HTTP_HOST").ToString)) Then
‘Would like to kick out of the site here.
End If