Click here to Skip to main content
15,896,259 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to check URL valid or fake by using asp.net?



Example:
https/www.paypal-silva.com/account details.hh.kk


In the above following Url checking

1)special characters (-,.,/)
2) domain name
3)https
Posted
Comments
Zoltán Zörgő 10-May-13 4:17am    
Please tell us what your final purpose is.
You can validate an url with regular expressions, but a fake url is not the same as a incorrect url. And this has little to do with web security in general.

 
Share this answer
 
Comments
Zoltán Zörgő 10-May-13 7:09am    
The methods are good, but they have limited usability in complex environments. Actually there is no all-round solution for that.
Thanks7872 10-May-13 7:11am    
Definately agreed.
Use Web Protection Library[^] for such requirements ... Its bliss
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900