|
Hi Friends..
I am having a website developed in ASP.NET.I need my website not to be made "save as" by any user who views my website.I also need to disallow my user from viewing the source of my application by selecting view--source..The primary objective of mine is to protect my source by means of this..Moreover i need not want to block the enire toolbar itself..rather i need to block two submenus in the tool bar i,e save as and view source.
Someone help in this regard as early as possible..
Balaguru
|
|
|
|
|
Balagurunathan S wrote: The primary objective of mine is to protect my source by means of this
Source means your .NET Code or HTML? If .NET code, there no need to worry, your code will not be visible since everything will be rendered into HTML.
Actually you cannot disble the IE's menu item at any cost since ASP.NET application has nothing to do with Client Side.
But your can disable the Context Menu (Right-Click Menu) of your browser by capturing the Mouse Events of the Page
|
|
|
|
|
Dear Mookkan..
Thanks for your response.
I want to hide my HTML source..Is there any way for doing this..? I have blocked the right click option of mouse in my application.so kindly suggest whether there is any way to hide the HTML source and to disable "save as" menu..
Regards,
Balaguru
|
|
|
|
|
Balagurunathan S wrote: I want to hide my HTML source
The simple and straight answer is You can not. If your website needs to be rendered on a standards compliant web browser, the HTML ought to go.
If you are really really feeling insecure, you may like to host a simple index.htm page and host an ActiveX Control. This ActiveX Control would have a secure connection with your parent webserver through proprietary handshake mechanism.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Dear Deepak..
Thanks for the timely reply...
Regards,
Balaguru
|
|
|
|
|
u cant do that but u can encrypt your all html so no one can understand any thing.
|
|
|
|
|
Dear Prashant..
Thanks for the reply..
How to encrypt all the HTML code..Can u kindly eloborate me how to do it..
Thanks & Regards,
Balaguru
|
|
|
|
|
quite what you think is so important about your HTML is beyond me. Believe me, you're not doing anything so unique that allowing people to view your HTML will in some way harm you, your website, or your rights as a web developer.
That said, there is one sure fire way of not allowing ANYBODY to view your HTML. Its called the "not putting it on the internet" method. Im sure you can work out the details.
|
|
|
|
|
Hi,i have created my asp.net mobile application and now i want to access it or rather deploy it on Actual mobile how should i do this?
GIRISH
|
|
|
|
|
You can test it in IE itself, I believe. I worked in it a long before.
|
|
|
|
|
Check out this discussion thread
http://forums.asp.net/p/1065868/1541833.aspx[^]
It enlists a few emulators that can be used.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi All,
What files are required when uploading and host in the webside developed by asp.net.
ex: Bin folder, global.asax etc.
which specific files are needed when hosting the website.
pls help me.
Thanks
|
|
|
|
|
* Bin
* Your Resources (Images/Sounds/Whatever)
* Global.asax, if you used
* All *.aspx
* Web.config
|
|
|
|
|
Hi Venkatesh,
Thank u very much for u r reply
|
|
|
|
|
Hi,
If you are using VS2005, The publish website tool help.
|
|
|
|
|
Bin Folder and config file and your aspx pages,ascx pages and stylesheet
basically when u right click and on web site and click on published web site it automatically create all the required file and folder in given location.
|
|
|
|
|
In change password control in asp.net when we enter the new password ,then a complete message will be displayed.If we dont enter the confirm password ,then also the password change confirm message will be displayed .How we avoid this problem.
|
|
|
|
|
The online status of the user shows 'online' even after the user sign out..
The code will return true after the user sign out. why it happening?
what will do to overcome this problem
Thanks
|
|
|
|
|
anu_123@ wrote: The code will return true after the user sign out. why it happening?
which code ? Check this[^]. it's urgent !
|
|
|
|
|
i have written this code for create a membershipcollection only if the user is offline.But it will return true for some users even if they are logged out.
this the code
MembershipUserCollection MUCNewUser = new MembershipUserCollection();
foreach (MembershipUser member in Membership.GetAllUsers())
{
if (member.IsOnline == false)
{
MUCNewUser.Add(member );
}
}
After the member sign out ,the if loop will return true
|
|
|
|
|
hi,
iam having 4 textbox inside my gridview .. ihave binded 3 txetbox values in the webpage itself... now i have to type the 4th textbox valuesand it should save in the database... already i am having 3 textbox outside the gridview.. all the textbox ar in the same table oly..
plz help me...
|
|
|
|
|
So where is the problem?
Apurva Kaushal
|
|
|
|
|
i cant save the gridview values in the databse...
|
|
|
|
|
i am using empty gridrow in my webpage
|
|
|
|
|
How exactly are you trying to insert the value in your database? Are you getting any problem in accessing the value of the textbox or getting the problem in inserting the data into the database?
Apurva Kaushal
|
|
|
|