Two scripts of connection in DW8
HelloI suffered on one of my areas of a nasty outbreak of sql injection on a site created in DWMX2004 a few years ago. I tightened security variable form and url by updating behaviors of DW8.02 ones, but this seems to be insufficient. My next idea was to create two login accounts sql server different, one for the public pages that has only very limited privileges (can select but not insert/update / delete except if specifically required) and one for the content management system, that can do everything.
The problem is that Dreamweaver will not allow me to have two database connections defined in a site. This means that half of my pages cannot be modified because the path to the connection file is not valid. I can have two files of connections (each one used by half of the site) and keep redefining the connection of master database because I move between files, but it's not ideal. Also, I can define two sites (one with each connection) to the same folder and keep switching between them, but it's also a pain.
Does anyone know of a better way to do it?
Any ideas gratefully received.
TP
OK, I thought about it. YOU have two active connections, but DW8 does not recognize an "old" when you added the second connection until you have closed and then reopened Dreamweaver. So it's good.
Weird!
Tags: Dreamweaver
Similar Questions
-
Two external displays connected to my dock and my ThinkPad T450
I have two external displays connected to my dock and my ThinkPad T450.
Everything works fine, when suddenly the monitor LEN LT2223pwC (using DP cable) goes into energy saving mode during use and there is not up to come back/wake, only to turn it off and back on
This Setup worked very well with my office. For some reason any the monitor does not receive the signal from the laptop / docking station.I got a new docking station and solved the problem. Thank you
-
Is there a way for two people to connect using BBM voice surveys and/or video anonymously
Hello
Is there a way for two people to connect via BBM voice and/or video and not force share them their credentials, unless they wanted to anonymously?
Thank you
Sorry to be so short: No.
-
question about how to combine the two scripts.
HelloI have a sql script that can display a table (or view) all the information, it works fine. I call it validate_table.sql, as below:
command prompt
accept invites owner "Enter table owner:
accept invites from TABLE_NAME "Enter object (table/View...) "name:"
column owner format a10 column 'owner '.
column format a30 topic 'Object name' object_name
column object_type format a15 direction "Type of object".
Status format a10 column titled "Status".
in the heading of column created format a20 "created."
the LAST_DDL_TIME format a20, heading 'LAST_DDL_TIME.
Select
owner
object_name
object_type
status
, to_char (created, "DD_MON_YY hh24:mi:ss") created
LAST_DDL_TIME,
Of
DBA_OBJECTS
where
object_name = upper ('& table_name') and owner = upper ('& owner');
command promptprompt -- ----------------------------------------------------------------------- ---
Guest - table/view structure-
prompt -- ----------------------------------------------------------------------- ---
command prompt
describe and owner... & table table_namecommand prompt
prompt -- ----------------------------------------------------------------------- ---
guest - list assigned user/subsidies-
prompt -- ----------------------------------------------------------------------- ---
command prompt
set pagesize 50000
set linesize 10000
set verify off
Set feedback off
column lvl format A4 direction "Lvl".
proprietary format of columns A14
format column in table_name A29
A38 dealer column format
column privilege A10 format
SELECT 'Role' lvl, t.table_name, t.grantee, t.owner, t.privilege
OF dba_tab_privs t
WHERE t.grantee IN (SELECT FROM dba_roles role WHERE = role t.grantee) and t.table_name = upper ('& table_name') and t.owner = upper ('& owner')
UNION
SELECT 'User' lvl t.table_name, t.grantee, t.owner, t.privilege
OF dba_tab_privs t
WHERE t.grantee IN (SELECT username FROM dba_users WHERE username = t.grantee) and t.table_name = upper ('& table_name') and t.owner = upper ('& owner')
UNION
SELECT 'Pub' lvl, t.table_name, t.grantee, t.owner, t.privilege
OF dba_tab_privs t
WHERE t.grantee = 'PUBLIC' and t.table_name = upper ('& table_name') and t.owner = upper ('& owner')
ORDER BY 1, 2, 3;command prompt
prompt -- ----------------------------------------------------------------------- ---
guest - list of synonyms created.
prompt -- ----------------------------------------------------------------------- ---
command prompt
proprietary format of columns A15
synonym_name A20 column format
A15 table_owner column format
format column in table_name A40
DB_link A40 column formatSelect the owner, synonym_name, table_owner, table_name, DB_link from DBA_synonyms where Table_name = upper ('& table_name') stopped by the owner;
command promptprompt -- ----------------------------------------------------------------------- ---
guest - list index created-
prompt -- ----------------------------------------------------------------------- ---
command prompt
Select
table-name
index_name
index_type
nom_tablespace
status
of DBA_indexes
WHERE table_name = upper ('& table_name') and owner = upper ('& owner')
order of table_name, index_name;
command promptprompt -- ----------------------------------------------------------------------- ---
guest - list of constraints-
prompt -- ----------------------------------------------------------------------- ---
command prompt
format column in table_name A15
format of column cons_type A15
cons_name A20 column format
check_cons A25 column format
VALIDATED A20 column format
column status A10 format
last_change A20 column formatSelect
table-name
(case constraint_type
When 'P', then 'Primary Key '.
When 'R' then 'Foreign Key'
When 'C' then 'check '.
When 'U' then 'single '.
When 'o' then 'read only display '.
When 'V' then 'check the view. "
When 'H' then 'Hash expression. "
When 'F' then 'REF column.
When the of ' then 'additional logging.
cons_type end)
constraint_name cons_name
condition_de_recherche check_cons
status
VALID
last_change
of dba_constraints
where owner = upper ('& owner')
and table_name = upper ('& table_name')
order of cons_type;I have another script that allows to display the newly created tables (table, table names) in the last 24 hours.
SET SERVEROUTPUT ON;
DECLARE
CURSOR tmp_cur IS
SELECT master, object_name
FROM dba_objects
WHERE object_type in ('TABLE', 'SEE') and the owner not in ('SYS', 'SYSTEM', 'GENERAL', "XDB", "OUTLN", "SYSMAN") and last_ddl_time > sysdate - 1;
tmp_rec tmp_cur % ROWTYPE;
BEGIN
FOR tmp_rec IN tmp_cur LOOP
DBMS_OUTPUT. PUT_LINE)
tmp_rec. Owner | ' ' || tmp_rec.object_name);
END LOOP;
END;
/
The gap of the first script (validate_table.sql) is that it can only check table one by one by manual entry, then how can I combine these two scripts, to make a scipt that can check all newly created tables (not a table) in the last 24 hours?
I thank very you much in advance!
Hello
If you already know how to find the owner and all the tables created table_name recently. One thing you can do is to change all the WHERE clauses in validate_table.sql, so instead of things like
where object_name = upper ('& table_name') and owner = upper('&owner');
you say
WHERE (owner, object_name) IN
(
SELECT master, object_name
FROM dba_objects
WHERE object_type in ('TABLE', 'SEE')
AND owner NOT IN ('SYS', 'SYSTEM', 'GENERAL', "XDB", "OUTLN", "SYSMAN")
AND last_ddl_time > SYSDATE - 1
)
;
Here is another approach:
Validate_table. SQL is quite handy as it is. You may want to run this script for tables, even when you know that they are not new. Divide into 2 scripts: one called ask_and_describe_table.sql, which looks like this:
-Ask_and_Describe_Table.sql
accept invites owner "Enter table owner:
accept invites from TABLE_NAME "Enter object (table/View...) "name:"
-You can use any name path instead of d:\some_dir below:
@d:\some_dir\describe_table & owner, table_name
and the other one called Describe_Table.sql, which starts like this:
-Describe_Table.sql
DEFINE owner = & 1
DEFINE table_name = & 2
column owner format a10 column 'owner '.
...
and continues with the same exact content as validate_table.sql.
Now, to write another script (I'll call it Describe_Recent_Tables.sql):
-Describe_Recent_Tables.sql - create and run Describe_Many_Tables.sql
-Turn OFF the devices designed to help people to read the output:
SET ECHO OFF
SET FEEDBACK OFF
SET PAGESIZE 0
VERRIFY OFF SET
-Create a Describe_Many_Tables.sql:
COIL d:\some_dir\describe_many_tables.sql
SELECT ' @d:\some_dir\describe_table '
|| owner
|| ' '
|| object_name
FROM dba_objects
WHERE object_type in ('TABLE', 'SEE')
AND owner NOT IN ('SYS', 'SYSTEM', 'GENERAL', "XDB", "OUTLN", "SYSMAN")
AND last_ddl_time > SYSDATE - 1;
SPOOL OFF
-Features lighting designed to help people to read the output:
SET ECHO ON
SET FEEDBACK ON
SET PAGESIZE 50
SET VERRIFY ON
-Describe_Many_Tables.sql performance
@d:\some_dir\describe_many_tables
I guess that all of your tables have standard names (for example, start with a letter, no spaces in the name,...), which don't require quotation marks. If they could, then the same basic approach will work, but the details are a little messier.
When you want to see the information on a single table or view, no matter how old it is, driven
Ask_and_Describe_Table
or, if you do not need to question the owner of the table and the name, something like
Describe_Table SCOTT EMP
(You can find that you really need not Ask_and_Describe_Table.sql).
When you want to do this for all the tables created in the last 24 hours:
Describe_Recent_Tables
-
Hi allI have a script for indd that convert a table selected user in JPG format (1276 px width, height varies). Second script photoshop asking to select jpg file and then check if the height in pixels is less than 1018 pixel, can he expand canvas size (height) to 1018 px.
How can I combine the two script, tip, or how to start would be useful? The workflow must be:
- the user select table in the indd document
- export table in jpg format
- script you will be asked to select the file table jpg or if it is possible to automate this would be awesome.
- enlarge the height of the canvas to 1018 px
Thank you
Marie rosine
PS: I have already read the Java script tool guide pdf but unable to understand
Yes and the documentation is pretty self-explanatory.
However, here is an excerpt:
function callPhotoshop(file) { var bt = new BridgeTalk; bt.target = "photoshop"; bt.body = "function main (){ return confirm('Am I in Photoshop?'); }; main();"; bt.onResult = function(resObj) { var myResult = resObj.body; alert( myResult? "PS code was correctly executed" : "Something wrong happened" ); } bt.send(); } callPhotoshop();
HTH,
Loïc
-
Issue in RPD with two pools of connections
I created a RPD with two pools of connections for OBIEE 11 g
and created two business model
and two field in the presentation area
I am able to update the data and the number of lines in the physical area
but after the deployment of the RPD
in the responses to the second topic I get error this table or view does not existIf the details of connetion for the connection pool is not even then you must create physical database objects 2 and then to create pools of separate connections under him...
-
can I change through MAXL Scripts database connections?
Hello
I just want to know if I can change through MAXL Scripts database connections. I use essbase 9.3.1.Hello
MAXL will allow you to automate metadata or loading using a rules file, you can pass a name of user and password different to the SQL query, but you it won't let you change the connection that is associated with the rule.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Two Macs can connect to a URL, another on the same network may not
So far, I can connect this behavior to a unique URL only - but of course, it's an I need to get in order to save some software on this particular machine.
I emptied the cache, flushed the DNS cache and checked that I use valid DNS servers. It isn't Safari, chrome this brings. Two Macs reached the URL without any problem, but this new model Mac Pro simply will not reach it and traceroute expires after a few jumps. All three machines are on the same network, all three use the same DNS servers. I rebooted several times.
All three Mac running the latest El Capitan. The two reach the URL are a MacBook Pro and a Mac Mini Server.
I'm puzzled.
Please note that a traceroute on all three machines reveals the slowdown even at the same jump in the chain, but only the Mac Pro seems to have trouble with it.
-
Satellite Pro A40 - two vertical line connecting TV
My problem with the Toshiba A40 Pro to connect to the TV.
Euro-VGA cable (SCART). When you connect a desktop with two line vertical image.
Pixels in PowerStrip does not work.
I would add that the graphics card is Intel 82852/82855 GM / GME.
Hello
Where the lines are appearing; internal laptop or TV on the screen?
Have you tried an update of the display driver?
How to test a new cables...? -
Two simultaneous network connections
In my office, I have two connections: a cable and a WiFi.
I would use the first to connect to the server and the internet and the second only to connect to the internet to listen to music.
Is it possible to do with access to television connections? I searched without result.
Thank you
Occam
Hi Occam,
You don't mention what OS you use, so I guess it's Windows.
The problem, do what you want, is that Windows (or any other OS) has got a routing table. So if you go to the prompt of commands and type "route print" you will see to the table routing on a Windows computer. When you try to reach an IP address on the internet, the routing table is used and is more common that the default route will be used in this case because the dest address could be anything (unknown). The default route is the one that says dest network / netmask 0.0.0.0 / 0.0.0.0. You can have multiple default routes which is the case when you are connected wireless with cable, but only one will be used based on the metric. Which should normally be the fastest by default so cable will be preferred wireless (assuming it's 100/1000 Mbit). You can add static routes to route traffic to a specific destination as a single IP address or a subnet and control if you want to use wireless or not, but in this case, you will need to know the destination address and cannot route based on the content of traffic or what kind of service you want to reach.
Should not be able to do what you either requires some sort of software on your computer that can handle in an intelligent way and I've never seen such software. Or you can use a proxy and ensure that traffic to the proxy server is routed interface that you do not prefer with applications using a proxy will follow the default route. Thus, for example, if you have installed a browser to use a proxy that the browser will always use the proxy in a different browser or application will not use the proxy.
If you listen to music from a few sources known on the internet, you could add more static or on roads to ensure that traffic to go on the other interface and any other internet connection. If you go to this address which will follow the same path of course so do not choose the connection based on the service (music or otherwise). All traffic to this destination will follow the road no matter what kind of traffic or app is. In this case, I guess that's easily solved by adding some roads in Windows.
Example: to add a route using Windows
Pei route add 10.10.10.0 mask 255.255.255.0 x.x.x.x
The '-p' if it doesn't go away when you restart the system. x.x.x.x is the gateway address where you want to route traffic. The rest is the subnet and mask. If you are not familiar with intellectual property, I suppose this might be a bit confusing.
I've seen others ask a similar question as yours, but never seen a good solution.
-gan
-
Two graphs, one connection
Hello everyone!
I suspect that the answer to this question is, but I'm asking anyway.
As you can see in this extremely simplified VI, I have a tab with two pages control. On page 1, I have a graph and a few controls. So, here's the question...
I need this exact configuration on page 2. What I have, it's like a mirror of each. If I insert data into the connection of graphs, I would like to show him
the two graphs. However... I want only one connector. I don't want a connector for each indicator/control. I want a connector for both graphics and
a connector for each pair of control. I could create a sub vi and use under panels, but I'm curious to know if this is possible.
I hesitate when I'm trying to explain something, then you can even do not understand what I'm asking.
Thank you!
Do you mean you want a subset of controls/indicators on all pages of your tab control (or at least will be displayed). One option is to move the controls in the tab control by using the arrows instead of drag and drop. I assemble outside of the tab control, group them all selected, and use the arrow keys to move in position on the control tab. You will see a shadow (slightly inconvenient) editing mode, which indicates that they are floating, but in Run mode, it seems normal.
Alternatively, I completely missed what you are shooting.
-
Whenever I connect to my laptop, a HP ProBook s 4530, it gives me two options. I have to either open a session without biometric feature or wait 30 seconds and try again. I'm guessing this has something to do with the journal of fingerprints or something. I don't have that. I've had this laptop for a few years and it just started this about 2 weeks ago. I doesn't have any log information or anything else in the laptop. Can someone help me please?
Hello
Check with HP support, their documentation online and ask in their forums.
HP support/troubleshooting & drivers
http://welcome.HP.com/country/us/en/support.htmlContact HP
http://welcome.HP.com/country/us/en/contact_us.htmlHP forums
http://h30434.www3.HP.com/PSG/I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">->
-
Beep every one or two minutes when connected to the a/c power
This happens when I have my laptop plugged into the a/c power. How can I get him to stop? The tone seems to be connected to a power setting, because the brightness of the screen increases or decreases when my cell phone rings. I was unable to find the reason why he's doing this. Can anyone help?
Two possibilities.
(1) your system goes into power saving mode because it has not been used - check your power settings in the control panel
(2) your system may be overheating and forced into a mode of power reduced to reduce the heat ouput - check your fans and vents work properly.
-
Two monitors, prompting connected and trying to get to work
My friend and I try to connect two monitors on his desk and we have the computer connected properly, but the screen is not any kind of signal to the computer (it won't turn on, just has a black screen or say in power saving mode). The main monitor works (of course, as l write this) it connects to the NVIDIA DVI (a video card installed) card, and the second monitor is a VGA. The second monitor we want to plug that we want to use on the OLD card came with the computer video, and we have the ports for it. However we are unable to operate, and it is quite frustrating. We have tried to update the software, but we think he may have disabled the second video card without meaning to, and we know many things at this point:
1 can I use two monitors to two different computers and use them to do different things (for example use it to surf the two different sites with two different keyboards/mouse, or play two different games (our intention is to play WoW the computer off) in this way)?
1a. If Yes, can someone please a link to a site that would be easier to read and understand? (We were already posted some, but they are confused or just say the same things and do not work)
2. how to reactivate the video card should it be disabled? Once again, the simple steps please.
3. can we use two separate video cards to run two different items on the computer, or would both forced to run out of the video one card?
3. If so, is there someone who can explain how to bind a monitor with a video card and not the other?Hi warpedchocobo,
Windows detects and identifies each monitor and projector that you connect, and applies the video settings that are best suited to each display. When you connect an additional monitor for the first time, you can choose how you want your desktop to appear on the screen. In addition, Windows collects information about the video capabilities of the additional screen, including the size of the screen, the screen resolution and the color depth.
On Windows Vista, older XPDM drivers still work and the behavior of multi-monitor with XPDM drivers has not changed, because the operating system uses the existing graphics stack.
However, the Display Driver Model WDDM (Windows Vista) brings fundamental changes to the management of several graphics cards and external displays. This includes a new restriction, because WDDM drivers do not support multi-monitor «multicard and heterogeneous» implementations
See the links below for more information.
http://windowshelp.Microsoft.com/Windows/en-us/help/90b6964d-2673-40E5-9fdf-6edad3916af31033.mspx
http://www.Microsoft.com/athome/organization/twomonitors.aspx
http://windowshelp.Microsoft.com/Windows/en-us/help/16152337-A45C-4a1a-B302-cfd95399ce071033.mspx#EI
http://windowshelp.Microsoft.com/Windows/en-us/help/c90105a0-57c1-4f0e-b095-b5ed1de8fc431033.mspx
http://www.Microsoft.com/whdc/device/display/multimonVista.mspx
Diamond
-
Two LRT224 a connection using VPN
What is the best way to connect two LRT224 between them, which are in two different cities?
Open VPN or IPSec?
I think gateway to gateway should be the correct mode, but I'm very unsure with the large number of parameters...
Try the EasyLink VPN from LRT214/LRT224, which simplifies the site to site VPN configuration.
EasyLink VPN works in the following way conceptually.
1. on the main site, activate EasyLink VPN Server (tab incoming on the Web GUI) and create an account (name and password) for each remote site.
2. at a remote site, activate EasyLink VPN Client (tab on the Web GUI) and between the identifiers of account for (name of user and password).
3. the remote site will automatically reach the primary site to establish an IPsec tunnel.
Note: LRT224 can support up to five peers EasyLink VPN in a star VPN topology.
Maybe you are looking for
-
HP ENVY 14-2000 CTO beats Ed: how to install Mac os on my pc
How to install Mac os el capitan on my pc HP ENVY 14-2000 CTO Beats Edition Notebook PC running window 10 BIOS version f.0f 64 bit CPU intel hd 3000 8 GB ram no legacy in bios option support
-
Default configuration for a step tab
We have a system that has been installed at a couple of sites affiliated to the Japan and in Romania (we have developed in Australia). It works on TestStand 4.2 with code written in LabVIEW 8.6 (although the Romanian site uses TS4.2.1 and LV2010).
-
Vista backup failure 0 x 80070002 -.
I get this error message whenever I try to do a backup (backup was previously fine workly). I followed the instructions given in the old discussions about the regedit process - everything was as it should be, except that my first profile was 'defaul
-
Print Preview does not work.,... text of page does not print
printer prints do not the page
-
Vista does not not in 64-bit mode__
It happened with my attempt to cleanning TWICE to copy the files: I couldn't do coming Windows maybe because I inadvertently omitted a common register file. In desparation I tried to reinstall Vista. D of the original settings does not work. Vista se