Do I can create a page who is locked just for selected user?
Do I can create a page who is locked just for selected user?
The manner how you put files on the server is unimportant.
It's the Webserver (usually Apache) itself that does the protecting.
So either use the control panel where you host your website, or use the method explained on the page I linked to.
Should look like this (on the left) :
Your visitor will see this :
http://home.wyodor.net/protect/
Use : root/root
Inside it looks like this :
Similar Messages
-
Does anyone know how I can create "facing pages" in new Pages? I could do it in Pages 09 but can't find the option in new Pages. I have documents created in Pages 09 and want to do some further work on them, but am now using new pages.
There were 100+ features that didn't make it into the "new & improved, rewritten from the ground up” Pages 5. Some have returned with the updates & there are some new features that are worthwhile, but there are still 90+ features missing. Leave feedback for the Pages team using the link in the Pages menu and review & rate the new versions in the Mac App Store.
If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done. -
Can a page only have 1 style for all users?
Portal 3.0.6
I was wondering if there is a way to allow users to apply page styles to their page version of the standard page only. We have a multi-tab page that all users have. I would like the ability for users to select / create new styles for their version of the page without affecting other users. If we grant manage style on the page they can modify the style, but it effects all users which is no good. Also, we are constantly announcing new portlets, so we cannot have the user copy the default page to their own.
So the short question is:
Can a page only have 1 style for all users?
Thanks,
Tom Hillson
nullThere is an option on setting a style for a page to use the User's default style. User's can create a style and set it as their default through the Navigator. Any page with the user's default style selected will pick up that style or if the user doesn't have a default, it will fall back on the overall portal default set in global settings.
-
Imprumut = loan
I have 6 tables:
I have one combobox(from where I select utilizatori(users)) and 2 CheckedListBox(Between first box and second box I have 2 buttons:imprumuta(loan) and restituie(return))
This c# code works just for first user: Utilizator, but something's not good. When I add new utilizator(user) and select it, the loan will be add in my SQL DataBase, but... the book who I selected doesn't move to the right in CheckedListBox and the reason
is that I can't make an return
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace proiect
public partial class Imprumut : Form
MySqlConnection con = new MySqlConnection("DataSource=localhost;UserID=root;database=biblio1");
//stabilim conexiunea
MySqlCommand comUser;//interogarea pe baza careia umplem comboBox
MySqlDataAdapter adaptu;
DataTable userT = new DataTable();
MySqlCommand cmdCarti;//interogarea pe baza careia umplem checkListBox
MySqlDataAdapter adaptCarti;
DataTable CartiTabel = new DataTable();
MySqlCommand cmdCartiImprumutate;//interogarea pe baza careia umplem checkListBox
MySqlDataAdapter adaptCartiImprumutate;
DataTable CartiImprumutateTabel = new DataTable();
public int UserId
get
return Convert.ToInt32(user.SelectedValue.ToString());
void Completez_Combo_User()
try
comUser = new MySqlCommand("SELECT n.userid, CONCAT(n.UserName) as UserN FROM users n left join userroles us on n.userid=us.userid left join roles r on r.roleid=us.roleid WHERE r.roleid='3'",
con);
adaptu = new MySqlDataAdapter(comUser);
adaptu.Fill(userT);
user.Items.Clear();
user.DataSource = userT;
//DataTable din care sunt preluate datele pentru ComboBox user
user.ValueMember = "UserID";
//Valoarea din coloana UserID nu se afiseaza in combobox
user.DisplayMember = "UserN";
//Eelementele afisate in combobox, preluate din concatenarea mai multor coloane
catch (Exception ex)
MessageBox.Show(ex.Message);
void Completez_CheckList_Carti()
try
cmdCarti = new MySqlCommand("SELECT BookID, CONCAT(title, ' ', ISBN,' ',author)as date_carte FROM books WHERE NumberLeft > 0 ORDER BY BookID", con);
adaptCarti = new MySqlDataAdapter(cmdCarti);
adaptCarti.Fill(CartiTabel);
imp.Items.Clear();
//carti.DataSource=null;
imp.DataSource = CartiTabel;
//DataTable din care sunt preluate datele pentru ComboBox carte
imp.ValueMember = "BookID";
//Valoarea din coloana BookID nu se afiseaza in combobox
imp.DisplayMember = "date_carte";
//Eelementele afisate in combobox, preluate din concatenarea mai multor coloane
catch (Exception ex)
MessageBox.Show(ex.Message);
void Completez_CheckList_Cartires()
try
cmdCartiImprumutate = new MySqlCommand(string.Format("SELECT b.BookID, CONCAT(title, ' ', ISBN,' ',author) as date_carte FROM books b inner join userbooks ub on ub.bookid = b.bookid
WHERE ub.userid = {0} ORDER BY BookID", UserId), con);
adaptCartiImprumutate = new MySqlDataAdapter(cmdCartiImprumutate);
adaptCartiImprumutate.Fill(CartiImprumutateTabel);
res.Items.Clear();
//carti.DataSource=null;
res.DataSource = CartiImprumutateTabel;
//DataTable din care sunt preluate datele pentru ComboBox carte
res.ValueMember = "BookID";
//Valoarea din coloana BookID nu se afiseaza in combobox
res.DisplayMember = "date_carte";
//Eelementele afisate in combobox, preluate din concatenarea mai multor coloane
catch (Exception ex)
MessageBox.Show(ex.Message);
void Inregistrez_imprumut_in_BD()
int useridu = Convert.ToInt32(user.SelectedValue.ToString()); //useridu = id book
int bookidi;
try
DateTime azi = System.DateTime.Now; // Data imprumutului
DateTime atunci = termenul.Value; // Data restituirii
MySqlTransaction tranzactie = con.BeginTransaction();
MySqlCommand adaugImpr = new MySqlCommand("INSERT INTO bookshistory(UserID, BookID,BorrowDate) VALUES(@UserID, @BookID, CAST(@BorrowDate as datetime))", con);
MySqlCommand scadCarti = new MySqlCommand("UPDATE books SET numberleft=numberleft-1 WHERE bookid=@bookid", con);
MySqlCommand adauga_userbooks = new MySqlCommand("INSERT INTO userbooks(userId,bookID)VALUES(@userID,@bookID)", con);
adauga_userbooks.Transaction = tranzactie;
adaugImpr.Transaction = tranzactie;
scadCarti.Transaction = tranzactie;
try
foreach (int i in imp.CheckedIndices)
imp.SelectedIndex = i;
bookidi = Convert.ToInt32(imp.SelectedValue.ToString());
MessageBox.Show(bookidi.ToString());
//bookidi va fi id-ul cartea bifata, pe rand din checklistBox
//Inregistrez in tabela imprumut
adaugImpr.Parameters.AddWithValue("@UserID", useridu);
adaugImpr.Parameters.AddWithValue("@BookID", bookidi);
adaugImpr.Parameters.AddWithValue("@BorrowDate", azi);
adaugImpr.ExecuteNonQuery();
adaugImpr.Parameters.Clear();
adauga_userbooks.Parameters.AddWithValue("@userID", useridu);
adauga_userbooks.Parameters.AddWithValue("@bookID", bookidi);
adauga_userbooks.ExecuteNonQuery();
adauga_userbooks.Parameters.Clear();
//Scad numarl de carti disponibile pentru cartea imprumutat
scadCarti.Parameters.AddWithValue("@bookid", bookidi);
scadCarti.ExecuteNonQuery();
scadCarti.Parameters.Clear();
tranzactie.Commit();
catch (Exception ex)
tranzactie.Rollback();
string message = ex.Message;
if (ex.Message.ToLower().Contains("duplicate entry"))
message = "Una dintre carti mai exista deja";
MessageBox.Show(message);
catch (Exception ex)
MessageBox.Show(ex.Message);
void Inregistrez_restituire_in_BD()
int useridu = Convert.ToInt32(user.SelectedValue.ToString()); //useridu = id book
int bookidi;
try
DateTime azi = System.DateTime.Now; // Data imprumutului
DateTime atunci = termenul.Value; // Data restituirii
MySqlTransaction tranzactie = con.BeginTransaction();
MySqlCommand modificIstoric = new MySqlCommand("UPDATE bookshistory SET returndate = @returnDate WHERE userID = @userID AND bookID = @bookID", con);
MySqlCommand adaugCarti = new MySqlCommand("UPDATE books SET numberleft = numberleft + 1 WHERE bookID = @bookID", con);
MySqlCommand sterge_userbooks = new MySqlCommand("DELETE FROM userbooks WHERE userID = @userID AND bookID = @bookID", con);
sterge_userbooks.Transaction = tranzactie;
modificIstoric.Transaction = tranzactie;
adaugCarti.Transaction = tranzactie;
try
foreach (int i in res.CheckedIndices)
res.SelectedIndex = i;
bookidi = Convert.ToInt32(res.SelectedValue.ToString());
MessageBox.Show(bookidi.ToString());
//bookidi va fi id-ul cartea bifata, pe rand din checklistBox
//Inregistrez in tabela imprumut
modificIstoric.Parameters.AddWithValue("@UserID", useridu);
modificIstoric.Parameters.AddWithValue("@BookID", bookidi);
modificIstoric.Parameters.AddWithValue("@returnDate", termenul.Value);
modificIstoric.ExecuteNonQuery();
modificIstoric.Parameters.Clear();
sterge_userbooks.Parameters.AddWithValue("@UserID", useridu);
sterge_userbooks.Parameters.AddWithValue("@BookID", bookidi);
sterge_userbooks.ExecuteNonQuery();
sterge_userbooks.Parameters.Clear();
//Scad numarl de carti disponibile pentru cartea imprumutat
//adaugCarti.Parameters.AddWithValue("@bookid", bookidi);
adaugCarti.Parameters.AddWithValue("@bookid", bookidi);
adaugCarti.ExecuteNonQuery();
adaugCarti.Parameters.Clear();
tranzactie.Commit();
catch (Exception ex)
tranzactie.Rollback();
MessageBox.Show(ex.Message);
catch (Exception ex)
MessageBox.Show(ex.Message);
public Imprumut()
InitializeComponent();
try
con.Open();
catch (Exception ex)
MessageBox.Show(ex.Message);
Completez_Combo_User();
Completez_CheckList_Carti();
Completez_CheckList_Cartires();
//selecteaza_carti_utilizator();
// Initializez termenul din dateTimePicker la data de peste 15 zile fata de data sistemului
termenul.Value = System.DateTime.Now.AddDays(15);
private void imprumuta_Click(object sender, EventArgs e)
Confirmare c = new Confirmare("Confirmati imprumutul?");
DialogResult dr = c.ShowDialog();
if (dr == DialogResult.Yes)
try
Inregistrez_imprumut_in_BD();
MessageBox.Show("Imprumutul a fost inregistrat");
//Dupa inregistrarea imprumutului o parte din carti nu mai sunt disponibile pentru imprumut
//Reincarc in CheckList cu Carti noua lista cu carti ramase dupa imprumut
//Pentru asta "resetez" datele din dataTable cartiT (sursa pentru carti.DataSource)
CartiTabel.Clear();
adaptCarti.Fill(CartiTabel);
CartiImprumutateTabel.Clear();
adaptCartiImprumutate.Fill(CartiImprumutateTabel);
catch (Exception ex)
MessageBox.Show(ex.Message);
if (dr == DialogResult.No)
MessageBox.Show("Imprumutul NU a fost inregistrat");
imp.ClearSelected();
//deselecteaza cartea selectat
foreach (int i in imp.CheckedIndices)
imp.SetItemChecked(i, false);
//debifeaza cartile bifate
//if (imp.CheckedItems.Count > 0)
// //res.Items.Clear();
// foreach (string str in imp.CheckedItems)
// res.Items.Add(str);//adauga in partea cealalta, imprumuta
// while (imp.CheckedItems.Count > 0)
// imp.Items.Remove(imp.CheckedItems[0]);
private void restituie_Click(object sender, EventArgs e)
Confirmare r = new Confirmare("Confirmati restituirea?");
DialogResult dr = r.ShowDialog();
if (dr == DialogResult.Yes)
try
Inregistrez_restituire_in_BD();
MessageBox.Show("Restituirea a fost inregistrata");
//Dupa inregistrarea imprumutului o parte din carti nu mai sunt disponibile pentru imprumut
//Reincarc in CheckList cu Carti noua lista cu carti ramase dupa imprumut
//Pentru asta "resetez" datele din dataTable cartiT (sursa pentru carti.DataSource)
CartiTabel.Clear();
adaptCarti.Fill(CartiTabel);
CartiImprumutateTabel.Clear();
adaptCartiImprumutate.Fill(CartiImprumutateTabel);
catch (Exception ex)
MessageBox.Show(ex.Message);
if (dr == DialogResult.No)
MessageBox.Show("Restituirea NU a fost inregistrata");
res.ClearSelected();
//deselecteaza cartea selectat
foreach (int i in imp.CheckedIndices)
res.SetItemChecked(i, false);
//debifeaza cartile bifate
if (res.CheckedItems.Count > 0)
foreach (string str in res.CheckedItems)
imp.Items.Add(str);
while (res.CheckedItems.Count > 0)
res.Items.Remove(res.CheckedItems[0]);
private void button2_Click(object sender, EventArgs e)
con.Close();
this.Close();
//private void selecteaza_carti_utilizator()
// res.Items.Clear();
// MySqlCommand selectcart = new MySqlCommand("select title from books,userbooks where userbooks.userid='" + user.SelectedValue.ToString() + "' and userbooks.bookid=books.bookid", con);
// MySqlDataReader reader = selectcart.ExecuteReader();
// try
// while(reader.Read())
// res.Items.Add(reader["title"]);
// catch(Exception ex)
// MessageBox.Show(ex.Message);
// finally
// reader.Close();Hello Vincenzzo,
This issue seems to be a window form UI implemented related issue, for this i suggest that you could ask it to the windows form forum:
http://social.msdn.microsoft.com/Forums/windows/en-US/home?forum=winforms
The current forum you posted to is used to discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
When a new user is created on the Server Computer,Why profile for the user is created as computername.username?
This is done if there are domain users with the same name. For example, if there is a domain user named 'test' who has logged in on the server, he will get the profile 'test'. If you then create a local user named 'test', the profile 'test' already exists
and the computer will create the profile 'computername.test' -
Hi,
I have an iTouch. I'd like to download some free apps. but I have a debit card but would like to download apps from the store. how do I do that? I can't possibly get a credit card just for this. please help.I really do not think it is the iPad or your network connection. Other users have reported this very same issue. Try this and see if it works for you - it may not work - but it's easy to try - harmless - and it has worked in the past for others.
Try signing out of your account and restart your iPad.
Go to Settings>Store>Apple ID and tap the ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. Go back to Settings>Store> Apple ID and sign in again. -
Does Contributor can create new pages or new tabs or templates?
Hi ,
I am very new to Oracle UCM. I want to know weather Contributor can able to create a new page?.
or can we dynamically add the tabs ?
if possible how? , i am seeing only the html editor window for contributors
appreciate your help.
Thanks
~Hari
Edited by: 860897 on Jun 4, 2011 1:03 PMI don't know what you mean by "add a new tab". If you're talking about adding new website sections (ie. folders) through the contributor interface to dynamically build the navigation, then the only way is to use the "site studio manager" fragment (w/out using Designer, of course). And then make sure your contributors can create and assign content to a region once they're in contributor mode.
-
I hope apple can create Cloud search , search every app show to every user.
I hope apple can create Cloud search , search every app can be show to every user. example:
when 1-25 show to user1, next 25-50show to user 2 , ...... 10000-10025 show to user 5000 ... every app can be show to every user , I think Cloud search is a fair to developer , it can search every app show to user , not only first 1000 hot app show to user , 1001-425000 apps is cool , no any user note the 1001-425000 apps .
I hope apple can create a Cloud search , help developer fair to show them apps .
< Edited by Host >I don't know why you're telling us users, You should be telling Apple: http://www.apple.com/feedback/iphone.html
-
You can creat any open item , you are remember not selecting for the open i
you can creat for any openitem, you are not selecting for the open item in FS00,, your already posting for the entries at the end of the month, you can select for openitem is it possible
Hi,
No.
Aravind Boddupalli -
Blank Page on SRM Portal only for one user.
Hello Guys,
Facing a challenging issue in SRM production Portal.
We have one user who is getting blank page while accesing confirmation link on SRM Portal.
Everything is working fine on Portal except this link for this user.
Everyone can see that page except this user.
I checked below things.
a) This user has appropriate backend and Portal roles.
b) User has appropriate permission on Portal(checked end user permission).
c) Checked the settings of IE.
d) User is getting the same problem in other machines as well.
e) I did re-create his SAP Id and still problem persists.
Portal is connected to Active Directory.
Please let me know what could be the reason for this problem.
Regards,
Kapilendra YadavThanks for the reply.
User hasnt done anything. He didnt collapse the page as he didnt even get on to the page.
I cant check the user id on different browser because of clients IT policy.
Regards,
Kapilendra -
How can I open my Windows 7 firewall just for FTP use?
I originally tried this question at the regular user forums, but after no success a Microsoft Support Engineer suggested I post here.
On my Mac, if I use FileZilla to connect to an FTP (not sFTP) server, it works fine.
However, in Windows 7 or Windows 8, if I use FileZilla or WinSCP to connect to the same server, when it gets to the point where it starts to list the remote directory I get an ECONNABORT error and get disconnected.
Here is a transcript from FileZilla:
Command: USER douglerner
Response: 331 User name okay, need password.
Command: PASS **********
Response: 230 User logged in, proceed.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 502 Command not implemented.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Command okay.
Command: PASV
Error: Disconnected from server: ECONNABORTED - Connection aborted
Error: Failed to retrieve directory listing
However, if I turn off the Windows firewall it works and I can use FileZilla and other FTP clients just fine.
My question is, rather than turning off the firewall altogether, how can I make an exception just for FTP, or just for FileZilla. I believe ports 20 and 21 are used depending on whether the connection is active or passive.
It isn't just me either. I was trying to help somebody else who is experiencing the exact same thing in his Windows 7. If he turns off the firewall completely FTP works. Otherwise it's the same error. He is on a different network altogether, in a different
country. Neither of us are behind proxy servers. In my case, it's just my home network.
I tried the following so far:
1. Make sure that FileZilla was listed as allowed in the firewall control panel. It was by default, so that didn't help.
2. Creating an "inbound rule" in the advanced settings for ports 20-21. That didn't help either.
Just completely turning off the firewall lets it work.
Any suggestions?
Thanks,
DougHi doug,
What is your current situation? Have you solved this issue?
Here I list the several solution:
Use the network monitor the capture package related to FTP as arnavsharma mentioned.
Take a look at the article as Sebastian and Sameer Gawde mentioned.
http://technet.microsoft.com/en-US/en-en/library/dd421710%28v=ws.10%29.aspx#bkmk_1
Best regards,
Fangzhou CHEN
Fangzhou CHEN
TechNet Community Support -
Create or not a new table just for one report
hi guys,
I'm working on a java client server application with an oracle db.
I need to create a new report in my application with requires lots of
calculation out of a table. I mean I cannot obtain the report just using
sql query.
My solution is:
use an oracle procedure, create a new table, fill it and then use sql to
get the report data. (that is fastest solution in my opinion)
My question is:
is a good choice to create a new table that will be exploit just to create
a report in the application?Or it's not worth and I should process the data with java without creating a new table?
thanks in advance!Hi,
>>is a good choice to create a new table that will be exploit just to create
a report in the application?
No problem, but in your case create a global temporary table is more appropriate, because many users can generate a report on the same time and you don't need worry about what table data is for what user, or to do something like create some tables with randomizes names like TEMP010304 or TEMP386679 and drop them when the user finish to view the report ...
http://www.oracle-base.com/articles/8i/TemporaryTables.php
Cheers -
Can we hide a specific subject area in answers for selected users
Hi,
Can we hide a specific subject area in answers for few users. I want to expose a particular subject area for only 2 users out of 10 . Right now if i expose it all 10 ppl with answers access will see that subject area. can i hide it for the other 8 without removing their answers access.Log in as Admin- Setting-Administration-Manage Privileges-Search for your subject area and place appropriate restriction..
-
hello can you please help me unlock my phone i need it and its locked out for 60 mins what casn i do my computer doesnt want to let me sinc it
You will have to restore it form Recovery Mode as it states in the artcile that brought you here.
Alternatively, place the device in recovery mode and restore it to erase the device:
Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
Continue holding the Home button until you see the Connect to iTunes screen.
iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device. -
How can I turn of the Software-License Agreement for my Users
Hallo,
I am owner of CLP-License for 44 Users of my Company.
I Have installed an registered every Client-Installation in my Domain (WINDOWS 7 Professional 64 bit) - Thats OK (it,s my Job)
After Restart the PC, Logoff/Logon of different Users, they must confirm the Software-License-Agreement ...?
How can I Turn off this Funktion ?
(Sorry for the Capitals - it is german-like :-))
Ulf Hänsler
(Thanks for your answers)Hi,
the answer was usefull for my thinking, but it doesn't fix my issue.
My Adobe Acrobat Version is DC (Standard/Professional):
I've found this key in my registry HKLM:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Adobe Acrobat\2015\AdobeViewer]
"EULAAcceptedForBrowser"=dword:00000001
"Launched"=dword:00000001
These Data are fix after restarting and logon. But it doesn't help. A few seconds after starting DC Pro and opening a document the EULA will prompt.
Where can I fix the acception of EULA for all my licensed Client and Users (without admin-rights for HKLM) ?
Thanks for your answer
Kindly regards
Ulf Hänsler
Maybe you are looking for
-
Windows Server 2012 not applying gpupdate why?
Hello, i am doing group policys on windows server 2012 with windows 7 clients and some of the gp's are not updateing on the clients i am doing gpupdate /force on them but that makes no difference can someone tell me whats wrong. here is some pics Is
-
New itunes library error. How do I fix this?
When I try to open itunes up on my laptop the "new itunes library" error message pops up. When I plug in my itouch/iphone, itunes still doesn open. The same message pops up. I downloaded another itunes and installed it without doing anything to my
-
[SOLVED] vim status line invisible/wrapped in terminal unless I resize
Hi all, Whenever I open a file in Vim within a terminal (urxvt, Terminator, xterm) the status line at the very bottom is either invisible or wrapped onto a new line (ie "bot" or "All" will span a line) until I manually resize the window by dragging a
-
I just want to be able to email jpegs I just exported from indesign I have a script that will do the emailing but it does not work from in Indesign. I can call the other script but it is still using indesign and there for does not work. I want it to
-
Pop up windows (eg alert box) has no borders and no "X" in top corner to close it
when a pop up window opens when running a javascript program, the window has no borders. Can I post a screenshot to show you? the same progrem runs fine in IE.