View Full Version : Trying to hide parts of website
omar_b
08-17-2004, 12:09 AM
Hi! Any help would be greatly appreciated as I don't even know how to approach this. I work for a Verizon Service Provider (Authorized Dealer). To run credit for our customers, we have to use our Master Agent's Website but my boss does not like doing this. Why? Because everywhere in this website there are "Become an Agent!!!" ads and my boss is paranoid that the employees will see this and contact this company and then leave us. It's happened a only once but I guess I can see where he is coming from. So here is what he wants me to do. Using OUR website, he wants me to find a way to LINK to the Master Agent's Website at the point where we input the information to run credit. This is good since once you get to this page, there are no more "Become an Agent!!!" ads. However, to get to this point, you of course need a password. How can I go about this? How can I link directly to this part of the website, bypassing the main page where the password is inputed and the ads are? I have tried the h t t p ://username:password@website.com but it does not work. I guess an easier way to do this (which I don't know how to do either) would be to open the Master Agent's Website in a new window, but using DHTML to maybe put a layer of solid color over the stuff we don't want employees to see. Kind of like a solid layer with cutouts over the parts we want them to see...or something like that! Any help would be greatly appreciated. I need this bad and I'm willing to reward anyone who helps me with some Cell Phone accessories. I can pretty much get most any accessories for just about any phone for free or super duper cheap! Thanks in advance!
when you link into the "final" area, check the URL in the address part of your browser. sometimes the information is passed in that fashion...
http://www.somesite.com/somepage.php?variable=1
that may be a way to get through.
if not, the info might be being passed through a POST rather than GET command, so it is hidden. we would have to see the pre-page to see how the information is input and sent. thus a solution may be found in that direction.
omar_b
08-17-2004, 04:34 AM
<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HEAD>
<title>Welcome to Celluphone</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Expires" CONTENT="0">
<meta http-equiv="pragma" content="no-cache">
</HEAD>
<body leftmargin="20" topmargin="0" marginwidth="0" marginheight="0">
<link href="https://secure.celluphone.com//styles/red_header.css" rel="stylesheet" type="text/css">
<link href="https://secure.celluphone.com//styles/red_text.css" rel="stylesheet" type="text/css">
<link href="https://secure.celluphone.com//styles/red_second_nav.css" rel="stylesheet" type="text/css">
<link href="https://secure.celluphone.com//styles/red_forms.css" rel="stylesheet" type="text/css">
<link href="https://secure.celluphone.com//styles/red_display_containers.css" rel="stylesheet" type="text/css">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2" width="250"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="row10hieght"></td>
</tr>
<tr>
<td width="250" rowspan="2"><a href="https://secure.celluphone.com//index.aspx"><img src="https://secure.celluphone.com//images/celluphone_red250x50.gif" alt="Welcome to Celluphone" width="250" height="50" border="0"></a></td>
</tr>
</table>
</td>
<td align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="row10hieght"></td>
</tr>
<tr>
<td class="welcome">Welcome back, Omar Brenes</td>
</tr>
</table>
</td>
<td align="right"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="row10hieght"></td>
</tr>
<tr>
<td class="logbutton" align="right"><a href="https://secure.celluphone.com//dealer_logout.aspx">Dealer
Log-Out</a></td>
</tr>
<tr>
<td class="row5hieght"></td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td align="left" colspan="2" class="headertier1">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="topnavitem"><a href="https://secure.celluphone.com/index.aspx" target="_top">Home</a></td>
<td class="topnavitem" ><a href="https://secure.celluphone.com/dealer_benefits/" target="_top">Dealer<BR>Benefits</a></td>
<td class="topnavitem" ><a href="https://secure.celluphone.com/vendor_benefits/" target="_top">Vendor<BR>Benefits</a></td>
<td class="topnavitem" ><a href="https://secure.celluphone.com/company_information/" target="_top">Company<BR>Information</a></td>
<td class="topnavitem" ><a href="https://secure.celluphone.com/contact_us/" target="_top">Contact<BR>Us</a></td>
</tr>
</table>
</td>
<td class="headertier1out"></td>
</tr>
<tr>
<td colspan="3" class="headertier2">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="securenavitem" ><a href="https://secure.celluphone.com/dealer_services/" target="_top">Dealer Services</a></td>
<td class="securenavitem" ><a href="https://secure.celluphone.com/promotions/" target="_top">Promotions</a></td>
<td class="securenavactive" ><a href="https://secure.celluphone.com/webacts/" target="_top">WebActs<small><sup>SM</sup></small></a></td>
<td class="securenavitem" ><a href="https://secure.celluphone.com/epins/" target="_top">EPINs<small><sup>SM</sup></small></a></td>
<td class="securenavitem" ><a href="https://secure.celluphone.com/equipment/" target="_top">Phones & Accessories</a></td>
<td class="securenavitem" ><a href="https://secure.celluphone.com/admin/" target="_top">Site Administration</a></td>
</tr>
</table>
</td>
<td class="headertier2out"></td>
</tr>
<tr>
<td colspan="3" class="row10hieght"></td>
<td></td>
</tr>
</table>
<table class="box_tint_above" cellSpacing="0" cellPadding="0" width="100%" border="0">
<tr class="copy">
<td>
*** PASSWORD SUBMIT BEGINS HERE ***
<form name="Form1" method="post" action="webacts.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE" value="dDwxNjM5ODM1ODM5O3Q8O2w8aTwxPjtpPDI+O2k8Mz47aTw0Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxEZWFsZXIgbG9nLWluOiBX ZWJBY3RzXDxzbWFsbFw+XDxzdXBcPlNNXDwvc3VwXD5cPC9zbWFsbFw+Oz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcPGJcPkF1 dGhvcml6ZWQgQ2VsbHVwaG9uZSBkZWFsZXJzIG1heSBsb2ctaW4gdXNpbmcgeW91ciBTaXRlIEFkbWluaXN0cmF0aW9uIFVzZXJu YW1lIGFuZCBQYXNzd29yZC5cPC9iXD4NClw8YnJcPg0KXDxiclw+DQpJZiB5b3UgYXJlIGFuIGV4aXN0aW5nIGRlYWxlciBhbmQg ZG8gbm90IGhhdmUgYWNjZXNzIHRvIFNpdGUgQWRtaW5pc3RyYXRpb24sIFw8YSBocmVmPSIuLi93ZWJkb2NsaWIvZGVhbGVyX3Nl cnZpY2VzL3BkZi9hbGwvV2ViX1NpZ25fdXBfZm9ybS5wZGYiIHRhcmdldD0iX3BkZiJcPlNpZ24gVXAgTm93IChQREYpXD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+IC0gUnVuIHlvdXIgY3VzdG9tZXLigJlzIGNyZWRpdCBiZWZvcmUgc3VibWl0dGlu ZyB0aGUgYWN0aXZhdGlvbi5cPC9saVw+DQpcPGJyXD4NClw8bGlcPlw8c3Ryb25nXD5FYXN5IFJlZ2lzdHJhdGlvblw8L3N0cm9u Z1w+IC0gQ29udGFjdCB5b3VyIERlYWxlciBSZXByZXNlbnRhdGl2ZSB0b2RheS5cPC9saVw+DQpcPC90ZFw+DQpcPC90clw+DQpc PC90YWJsZVw+Oz4+Oz47Oz47Pj47PsOX+brVgiBIHnM3IMbA/9UX4nH4" />
<table cellSpacing="0" cellPadding="0" width="160" border="0">
<tr>
<td class="formdescip">Username<br>
<input name="txtUser" type="text" id="txtUser" class="formstyle" /></td>
</tr>
<tr>
<td class="formdescip"><br>Password<br>
<input name="txtPassword" type="password" id="txtPassword" class="formstyle" /></td>
</tr>
<tr>
<td><br><input type="submit" name="btnSubmit" value="Submit" id="btnSubmit" class="formstyle" /></td>
</tr>
<tr>
<td class="copy">
<b><span id="lblErrorMsg" class="invalidpass"></span></b><br><A href="password_retrieval.aspx">Forgot Your Password?</A></td>
*** PASSWORD SUBMIT ENDS HERE ***
</tr>
</table>
</form>
</td>
<td id="login">
<span id="lblUpsellTitle" class="title">Dealer log-in: WebActs<small><sup>SM</sup></small></span><br>
<br>
<span id="lblUpsellText"><b>Authorized Celluphone dealers may log-in using your Site Administration Username and Password.</b>
<br>
<br>
If you are an existing dealer and do not have access to Site Administration, <a href="../webdoclib/dealer_services/pdf/all/Web_Sign_up_form.pdf" target="_pdf">Sign Up Now (PDF)</a> or contact your Dealer Representative.</span>
</td>
<td>
<div align="right"><IMG height="150" src="images/i_key_120.jpg" width="120"></div>
</td>
</tr>
</table>
<table class="box_white" cellSpacing="0" cellPadding="0" border="0">
<tr>
<td class="copy">
<table cellSpacing="0" cellPadding="0" align="right" border="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0" class="box_right">
<tr>
<td class="box_title">Not a Celluphone Dealer yet?</td>
</tr>
<tr>
<td>
<a href="../dealer_benefits/dealer_inquiry.aspx">Join our family of independent
dealers</a><br>
and benefit from Celluphone's online tools.</td>
</tr>
</table>
</td>
</tr>
</table>
<span id="lblSectionTitle" class="title">Activate Customers Online</span><br>
<br>
<span id="lblSectionText">WebActs<small><sup>SM</sup></small> is the fast, easy, secure way to activate Postpay and Prepay customers online! (Available in CA, IL, MO and WI markets) <BR><BR>
<table border="0" cellspacing="0" cellpadding="0">
<tr class="copy"><td width="130">
<img src="./images/i_logo_webacts_vzw.gif" width="120" height="30">
</td>
<td valign="middle" class="copy">
<li><strong>Fast Activations</strong> - Spend time with your customers, not on hold.</li>
<br>
<li><strong>Review Recent Activity</strong> - View your activations over the last 48 hours.</li>
<br>
<li><strong>Instant Credit Check </strong> - Run your customer’s credit before submitting the activation.</li>
<br>
<li><strong>Easy Registration</strong> - Contact your Dealer Representative today.</li>
</td>
</tr>
</table></span>
</td>
</tr>
</table>
<link href="https://secure.celluphone.com//styles/disclaimer.css" rel="stylesheet" type="text/css">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="row10hieght"></td>
<td class="row10hieght"></td>
</tr>
<tr>
<td class="row20heightcccccc"></td>
<td class="row20heightcccccc"></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td class="row10hieght"></td>
<td class="row10hieght"></td>
</tr>
<tr>
<td class="disclaimer" width="780">
<a href="https://secure.celluphone.com/index.aspx" target="_top">Home</a>|
<a href="https://secure.celluphone.com/dealer_benefits/" target="_top">Dealer Benefits</a>|
<a href="https://secure.celluphone.com/vendor_benefits/" target="_top">Vendor Benefits</a>|
<a href="https://secure.celluphone.com/company_information/" target="_top">Company Information</a>|
<a href="https://secure.celluphone.com/contact_us/" target="_top">Contact Us</a><br>
<a href="https://secure.celluphone.com/dealer_logout.aspx" target="_top">Dealer Log-Out</a>
|
<a href="https://secure.celluphone.com/dealer_services/" target="_top">Dealer Services</a>|
<a href="https://secure.celluphone.com/promotions/" target="_top">Promotions</a>|
<a href="https://secure.celluphone.com/webacts/" target="_top">WebActs<small><sup>SM</sup></small></a>|
<a href="https://secure.celluphone.com/epins/" target="_top">EPINs<small><sup>SM</sup></small></a>|
<a href="https://secure.celluphone.com/equipment/" target="_top">Phones & Accessories</a>|
<a href="https://secure.celluphone.com/admin/" target="_top">Site Administration</a><br>
© 2004 Celluphone
<a href="https://secure.celluphone.com/terms_of_use.aspx" target="_top">Terms of Use</a>
</td>
<td><img src="https://secure.celluphone.com//images/i_footer_vzw.gif" align="right" border="0" alt="Welcome to Celluphone" height="46" width="160"></td>
</tr>
</table>
</P>
</body>
</HTML>
Here is the code from the Master Agent's website...I've highlighted the part where the password is asked/submitted...thanks!
Roy Sinclair
08-19-2004, 02:59 PM
Actually I'm wondering if this request doesn't fall outside of the Terms of Service for using that web site. If so, you shouldn't be asking this question here, please check and make sure that your request isn't one that'll break a contract before continuing.
omar_b
08-19-2004, 05:38 PM
Actually I'm wondering if this request doesn't fall outside of the Terms of Service for using that web site. If so, you shouldn't be asking this question here, please check and make sure that your request isn't one that'll break a contract before continuing.
It isn't. I have talked to our rep and to their IT department and were told we could do whatever we wanted. In fact, it was them that suggested we find a way to do this. Why didn't I talk to the IT people? Quite frankly, because they don't know what they are doing. The website was created by someone outside. I've tried talking to do them about it but they don't sound like they know what they are talking about.
Psychoman
08-19-2004, 08:59 PM
What if you try imitating the login script for the site on your website, and then pass the information to them?
The key might be in handling the post a little diffrently than in their site, for example
<form name="Form1" method="post" action="https://secure.celluphone.com/webacts.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE" value="dDwxNjM5ODM1ODM5O3Q8O2w8aTwxPjtpPDI+O2k8Mz47aTw0Pj s+O2w8dDxwPHA8bDxUZXh0Oz47bDxEZWFsZXIgbG9nLWluOiBX ZWJBY3RzXDxzbWFsbFw+XDxzdXBcPlNNXDwvc3VwXD5cPC9zbW FsbFw+Oz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz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Clw8dGQgdmFsaWduPSJtaWRkbG UiIGNsYXNzPSJjb3B5Ilw+DQoNClw8bGlcPlw8c3Ryb25nXD5G YXN0IEFjdGl2YXRpb25zXDwvc3Ryb25nXD4gLSBTcGVuZCB0aW 1lIHdpdGggeW91ciBjdXN0b21lcnMsIG5vdCBvbiBob2xkLlw8 L2xpXD4NClw8YnJcPg0KXDxsaVw+XDxzdHJvbmdcPlJldmlldy BSZWNlbnQgQWN0aXZpdHlcPC9zdHJvbmdcPiAtIFZpZXcgeW91 ciBhY3RpdmF0aW9ucyBvdmVyIHRoZSBsYXN0IDQ4IGhvdXJzLl w8L2xpXD4NClw8YnJcPg0KXDxsaVw+XDxzdHJvbmdcPkluc3Rh bnQgQ3JlZGl0IENoZWNrIFw8L3N0cm9uZ1w+IC0gUnVuIHlvdX IgY3VzdG9tZXLigJlzIGNyZWRpdCBiZWZvcmUgc3VibWl0dGlu ZyB0aGUgYWN0aXZhdGlvbi5cPC9saVw+DQpcPGJyXD4NClw8bG lcPlw8c3Ryb25nXD5FYXN5IFJlZ2lzdHJhdGlvblw8L3N0cm9u Z1w+IC0gQ29udGFjdCB5b3VyIERlYWxlciBSZXByZXNlbnRhdG l2ZSB0b2RheS5cPC9saVw+DQpcPC90ZFw+DQpcPC90clw+DQpc PC90YWJsZVw+Oz4+Oz47Oz47Pj47PsOX+brVgiBIHnM3IMbA/9UX4nH4" />
<table cellSpacing="0" cellPadding="0" width="160" border="0">
<tr>
<td class="formdescip">Username<br>
<input name="txtUser" type="text" id="txtUser" class="formstyle" /></td>
</tr>
<tr>
<td class="formdescip"><br>Password<br>
<input name="txtPassword" type="password" id="txtPassword" class="formstyle" /></td>
</tr>
<tr>
<td><br><input type="submit" name="btnSubmit" value="Submit" id="btnSubmit" class="formstyle" /></td>
</tr>
<tr>
<td class="copy">
<b><span id="lblErrorMsg" class="invalidpass"></span></b><br><A href="https://secure.celluphone.com/password_retrieval.aspx">Forgot Your Password?</A></td>
I tried to test this, but without a correct username and password I cannot see if it will allow it, however, it did pass the variables for the username and tell me that it was an invalid password...
however, the password being invalid, the loginpage with the ads showed up.
I'm sorry I can't help you more than this, however its worth a shot.
omar_b
08-19-2004, 11:40 PM
Thanks Psychoman. That way you told me it works just fine. I put my username and password and it takes me past the ads. I guess this will do for now although anyone can click on the company logo and such and go back to the main page, but this will certainly reduce the visibility of the ads. Besides, most of the workers aren't too bright with computers! Thanks! Psychoman, send me a message or something and I'll hook you up with some cell phone accessories if you wish...
Psychoman
08-20-2004, 04:15 AM
Hey no problem, Glad I could help. But hey if your serious about the accesories, I could use some minutes for my cellphone. :D
bradyj
08-20-2004, 06:12 AM
As a friendly reminder, always put your code in code brackets Like:
div {
width: auto;
}
It makes things easier... and good job with the code Psychoman :thumbsup:
Psychoman
08-20-2004, 06:36 AM
Thanks for the reminder,
I normally do use them, In this case though I wanted to highlight the diffrence in the codes using the color green. I was unaware that it would cause problems with the indexing though, I'll keep that in mind next time.
omar_b
08-20-2004, 06:04 PM
Hey no problem, Glad I could help. But hey if your serious about the accesories, I could use some minutes for my cellphone. :D
If I could give minutes I would be more popular that I am! Sorry but I can only give you accessories! (earpiece, body gloves, chargers, etc)...sorry!
Psychoman
08-21-2004, 07:14 AM
Oh you don't sell Mobile minutes? I have a prepaid service. I didnt expect you to be able to add minutes to my account. Anyways, if you can't do that then its fine, I just thought you could get one of those scratch of cards and email me the pin# But no worries. If you sell plans though, I may look you up in a couple of weeks since I need one. (id' buy it of course, not expecting it for free)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.