Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 11-05-2012, 06:40 AM   #1
Fully Optimized
 
ssc456's Avatar
 
Join Date: Jan 2007
Posts: 4,279
Send a message via MSN to ssc456
Default .net Classes

Hi Guys,

Just a quick question, i'm making a website with absolutely no sensitive data and to be honest i'm not taking it that seriosuly it's just something i'm toying with to try out new ideas.

It's a C# .net website and the question i'd like to ask is can people see what code i'm writing in my classes?

For example on 1 of my pages on the on_load event i want to query my SQL server, now because i'm just toying about i've just chucked a SQL string in there with my username and password to my SQL DB. Can peopel get to this and if so how?

Perfectly happy for you guys to give it a shot, Home Page as there is nothing i'm terribly fussed about losing at this stage.

Please ignore the "Mickey Mouse" web design, i'm playing around with functionality and stuff at the moment so in terms of usability and graphics it's an absolute shambles, please ignore!

** First one to tell me my full SQL Server address gets a virtual high five!
__________________

__________________
He who has never failed has never attempted anything worth succeeding at.

Dont Eat Animals, Its Not Good For Them And They Dont Like It!
ssc456 is offline   Reply With Quote
Old 11-05-2012, 08:24 AM   #2
In Runtime
 
1337G33k's Avatar
 
Join Date: Sep 2012
Location: Canada
Posts: 190
Default Re: .net Classes

just so ya know man, it's not smart to put your ip address in the URL bar. But nice site. You got talent.
__________________

__________________
"Yo moma is like HTML: Tiny head, huge body."
1337G33k is offline   Reply With Quote
Old 11-05-2012, 08:42 AM   #3
Fully Optimized
 
jmacavali's Avatar
 
Join Date: Jun 2009
Posts: 4,867
Default Re: .net Classes

That's interesting, but I've got no clue about finding anything...LOL
__________________
****************************************
Don't take life too seriously -- no one gets out alive. Plus, who wants to arrive to the hereafter in pristine condition wearing a suit and tie?
I want to slide in sideways, worn out, used up, hair a mess, clothes tattered, & screaming, "Whooo! What a ride!"
****************************************
jmacavali is offline   Reply With Quote
Old 11-05-2012, 08:59 AM   #4
Fully Optimized
 
ssc456's Avatar
 
Join Date: Jan 2007
Posts: 4,279
Send a message via MSN to ssc456
Default Re: .net Classes

Quote:
Originally Posted by 1337G33k View Post
just so ya know man, it's not smart to put your ip address in the URL bar. But nice site. You got talent.
I sincerely hope that's sarcasm lol.
The site is horrific, I'm just playing around with functionality at the minute kinda getting things to work and stuff as apposed to making it look pretty.

Also I know about the IP thing it's just while i'm testing at the min, i will be moving to an online hosted service soon.

Any ideas on the question? If i put Server="MyServer";User="MyUser";Password="MyPasswo rd" as a conntion string insice my C# class can it be viewed?

I've tried having a look around myself, viewing it from my work computer and using the IE Developer Tools to try and look about but i can;t see anything but then again i have no idea what i'm doing?
__________________
He who has never failed has never attempted anything worth succeeding at.

Dont Eat Animals, Its Not Good For Them And They Dont Like It!
ssc456 is offline   Reply With Quote
Old 11-05-2012, 09:02 AM   #5
In Runtime
 
1337G33k's Avatar
 
Join Date: Sep 2012
Location: Canada
Posts: 190
Default Re: .net Classes

Quote:
Originally Posted by ssc456 View Post
I sincerely hope that's sarcasm lol.
The site is horrific, I'm just playing around with functionality at the minute kinda getting things to work and stuff as apposed to making it look pretty.

Also I know about the IP thing it's just while i'm testing at the min, i will be moving to an online hosted service soon.

Any ideas on the question? If i put Server="MyServer";User="MyUser";Password="MyPasswo rd" as a conntion string insice my C# class can it be viewed?

I've tried having a look around myself, viewing it from my work computer and using the IE Developer Tools to try and look about but i can;t see anything but then again i have no idea what i'm doing?
well now that you put it that way, yeah it is haha. Honestly, im not to sure about the server, but it should. Im not sure. Best way to find out is to go ahead with it
__________________
"Yo moma is like HTML: Tiny head, huge body."
1337G33k is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:19 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0