|
sir i need the documentation for the project "SYSTEM INFORMATION DESKTOP TOOL" its urgent sir and it is related to my project so plz send the documentation to my gmail id "inturi143@gmail.com"
its urgent sir
thanking you
|
|
|
|
|
If you need some help on an related article here on CP SYSInfo: System info desktop tool[^] it would be appropriate to leave a message on the board of said article. You can download and study the code and whatever there is, but if you need further assistance you need to contact the author instead of posting it here.
Cheers!
|
|
|
|
|
Hi,
I am creating a new datalist custom control, basicly why I need this solution is that. I will use it in pretty same way with same columns (maybe column names that return is different).
The question is that I am unable to add itemtemplate to this server control... Could you please assist me with the codes and the event name that adds this control.
Thanks in advance
|
|
|
|
|
|
Hi,
thanks for the answer, but what I need is not about the common datalist control, I am creating my own datalist control via web server controls. So I am overwriting some of the common datalist controls' events. I need my datalist control to come with an itemtemplate by default. This itemtemplate will require some fields that will be provided by properties.
There are two events while creating your own control
1. rendercontents
2. createchildcontrols
I was unable to addd itemtemplate by these 2 events.. How could I manage this, I do not know at the moment.
I hope I made myself clear now.
|
|
|
|
|
In addition to thatraja list, see also this[^]
|
|
|
|
|
Hi,
thanks for the answer, but what I need is not about the common datalist control, I am creating my own datalist control via web server controls. So I am overwriting some of the common datalist controls' events. I need my datalist control to come with an itemtemplate by default. This itemtemplate will require some fields that will be provided by properties.
There are two events while creating your own control
1. rendercontents
2. createchildcontrols
I was unable to addd itemtemplate by these 2 events.. How could I manage this, I do not know at the moment.
I hope I made myself clear now.
|
|
|
|
|
Hi,
I need to prevent multiple users updating same record same time and same table ,
i tried with Sq l-transactions ,
every user data updating properly but last user data will be the current data ,
here i need to show alert message for second user onwards.
Please suggest me better way to do this.
Regards,
Vishnu.
|
|
|
|
|
The accepted way to do this is to hold some form of version information on the table (be it an update tickcount, or incrementing number). Retrieve this with your record, and pass it back in when you attempt to update the record. If the version doesn't match on the update, it means that somebody else has updated the record while you were editing it. At this point, you can inform the user that the record has been updated by somebody else.
|
|
|
|
|
|
Try locking access, just flag up if it is currently being accessed and stop further access to it.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Hi and happy new year to westerns.
I've a website based on ASP.NET 2 and Sql server 2000 as storage. I use FTP for updating website. Site has a administrators part for content management. The site has been hacked twice since a month ago. Records of some of tables gets deleted . These tables are germane to public webpages not secured parts of the site. and besides some photos from website directories gets deleted. When the site was first hacked I scrutinized directories and found some ASP.NET pages with "aspx" extension placed in some directories. I downloaded those files and check them out. With a cursory look I ascertained that those are programs that analyse the security of sites and faciliate hacking.
After the first atack I encrypted my sql server 2000 database user password and placed it in web.config file but the second attack was happened. Site is protected from sql injection attacks.
The shell files were deleted from the website after the first attack.
Some questions arise here :
1. How those files were placed in the website directories by someone ?
2. Is there anyway to avoid such unwanted upload to website ?
3. How is it possible for hacker to access the database while I have encrypted the password in web.config and site
is protected from sql injection attacks.
Any solution is highly appreciated.
|
|
|
|
|
Well my first thought was that you need to check your DB layer for sql injection attacks. You mentioned that your site is protected, so double check that, because maybe you just check some techniques of sql injection hacks, but there are many ways to do it.
Also check your credentials to upload that files in the Server, and maybe you should change them.
luisnike19
|
|
|
|
|
There isn't a one size fits all answer for this (hence the subject line). I'm a little rusty at the security side of things, but the following might be a start:
- Did you change your password when you encrypted it: if not the hacker could still be using your original password.
- You should consider locking down your FTP setup, so that you arrange to have FTP open only when you are uploading. This is most likely how they got in. You could also change your firewall so it only accepts incoming FTP requests from internal/known IPs.
- The presence of files on your site indicates that whoever has hacked you *might* have some level of user access to you machine (ftp is more likely, but there are tools to bootstrap yourself an account using known vulnerabilities) : Check for new users (especially with administrative rights) and strap your server down.
- If the hacker has their own login account, they might no longer need the password, their kerberos identity could be enough if authentication is in mixed mode. Check the SQL logs to see who has been in on your system, again strap down who can log in to your SQL server, but they sound clever enough to cover their own tracks. If your SQL server isn't on a different machine, move it. Only allow specific windows accounts to login (say the DB admin's and yours), or none at all (SQL only mode).
- Put some code security in place so that only code signed by yourselves can be actually executed.
- Change your SQL password again: they may already have a new one.
Securing a website isn't easy, there are several vulnerabilities (tools to get admin access, social engineering etc) and any is a potential route in. If you can't do it yourself you should consider getting someone in who can:- it is a skilled job, but before doing this you need to asses what level of risk is acceptable and how much you are willing to pay to secure your site.
|
|
|
|
|
You might want to engage the services of a penetration tester (a white hat hacker) to identify the weaknesses in your site. Also, analyse your logs for details, and if I were you, I'd get in touch with the police; I assume that hacking is a crime in the country you live in.
|
|
|
|
|
Guys, I've just created an auto post-back user control. this control used to work really good but suddenly it threw an exception on post-back saying :
Message: Sys.ArgumentNullException: Value cannot be null.
Parameter name: postBackElement
this exception was thrown in the auto-generated function:
Sys.WebForms.BeginRequestEventArgs = function Sys$WebForms$BeginRequestEventArgs(request, postBackElement) {
var e = Function._validateParams(arguments, [
{name: "request", type: Sys.Net.WebRequest},
{name: "postBackElement", domElement: true}
]);
if (e) throw e;
Sys.WebForms.BeginRequestEventArgs.initializeBase(this);
this._request = request;
this._postBackElement = postBackElement;
}
Please help me.
I used
onchange="__doPostBack('ctl00$ContentPlaceHolder1$ddlStartDate','')"
where ctl00$ContentPlaceHolder1$ddlStartDate is the name of my control.
|
|
|
|
|
hi
how to write to text file or any other way - who Visited in my web ?
i need ip and computer name of the client
how to do it ? (if it possible at all)
thank in advance
|
|
|
|
|
Gali1978 wrote: how to write to text file or any other way - who Visited in my web ?
Go with this URL:
http://www.mycsharpcorner.com/Post.aspx?postID=27[^]
Gali1978 wrote: i need ip and computer name of the client
if(Context.Request.ServerVariables["HTTP_VIA"]!=null)
{
ip=Context.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();
}
else
{
ip=Context.Request.ServerVariables["REMOTE_ADDR"].ToString();
}
Note:
1. Some time Proxy Servers is not sending real client IP so in that case there is no way to find the client IP.
2. I am not sure we can find client computer name without any extra effort with only Asp.Net.
Thanks
Parwej Ahamad
ahamad.parwej@gmail.com
modified on Wednesday, January 26, 2011 2:26 AM
|
|
|
|
|
|
You'r most welcome!
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
hi
i have gridView that has column that contain e-mail on my web-form.
when i press this cell - how to send mail (througt the client mail)
i try to add hyperlink column to the gridview - but not working
how to do it ?
thanks
|
|
|
|
|
Gali1978 wrote: when i press this cell - how to send mail (througt the client mail)
i try to add hyperlink column to the gridview - but not working
how to do it ?
What is not working ? Are you getting any error ? What code you have written ?
|
|
|
|
|
If you write out the email column in the following format
<a href="mailto:user@domain.com">Send email</a>
it will send the email using the default email client. But, that is not recommended way of doing it. For starters, since the email is exposed, it can be harvested by bots easily. Instead handle it at the back-end or use some email address obfuscation javascript code.
|
|
|
|
|
have you tried mailto:address?
|
|
|
|
|
Hi All,
I am writing documents for my asp.net web application, web service and windows service integration with other web service application. I want to know the differences between Proof of Concepts, Technical Specifications and other documents which are mostly or likely related to the developer some times.
The other thing is that a company approached me for some sort of work, it has explained me some thing about whats thier issue and what they want then I did some research and given them a POC document with different approaches to resolve those issues. Did I do correct here by naming my document as POC? Is it right to give the approaches in the POC?
After that they have accepted for one approach, then I again did some research and given them architecture of the application and how it looks and data flow diagrams etc and system harware and software requirements. But the system is not implemented yet. It should be implemented yet but have given the complete architecture how it looks, data flow diagrams every thing.
Should I name this document as POC with different version only or Technical specifications document. What kind of document it is now?
Please give me any sort of help or any links are ok for me.
Thanks and your help would be appreciated.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|